ports/graphics/xfig-devel/files/patch-aa
Ying-Chieh Liao 16a1f893c2 Fix build error
PR:		28408
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-07-07 12:54:28 +00:00

86 lines
2.2 KiB
Text

--- Imakefile.orig Wed May 30 03:32:11 2001
+++ Imakefile Tue Jun 26 00:25:33 2001
@@ -47,8 +47,8 @@
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGLIBDIR = ${LOCALBASE}/lib
+JPEGINCDIR = ${LOCALBASE}/include
#else
JPEGLIBDIR = ../jpeg
JPEGINCDIR = $(JPEGLIBDIR)
@@ -72,18 +72,18 @@
XCOMM Change XPMLIBDIR if necessary to point to the xpm library (libXpm)
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
-XCOMM #define USEXPM
-XCOMM #define USEXPM_ICON
+#define USEXPM
+#define USEXPM_ICON
#ifdef USEXPM
XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I/usr/include/X11
+XPMINC = -I$(INCDIR)/X11
#endif
XCOMM Uncomment the following definiton if you want to use the small icons
XCOMM for the panel buttons. Use this if you have a 800x600 or smaller screen.
-XCOMM #define USESMALLICONS
+#define USESMALLICONS
XCOMM Uncomment the following definition for XAW3D if you want to use
XCOMM the 3d Athena Widget Set (highly recommended!)
@@ -93,7 +93,7 @@
#define XAW3D
#ifdef XAW3D
-XAW3DINC = -I/usr/include/X11/Xaw3d
+XAW3DINC = -I$(INCDIR)/X11/Xaw3d
DUSEXAW3D = -DXAW3D
XAWLIB = -lXaw3d
#endif
@@ -120,7 +120,7 @@
XCOMM If your setlocale() dosen't support the locale, you should
XCOMM add -DSETLOCALE to I18N_DEFS.
-XCOMM #define I18N
+#define I18N
XCOMM If using an input tablet uncomment the following
@@ -131,7 +131,7 @@
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
XCOMM use (and change) the following if you want the multi-key data base file
XCOMM somewhere other than the standard X11 library directory
@@ -220,7 +220,7 @@
#endif /* USEJPEG */
#ifdef I18N
-I18N_DEFS = -DI18N -DSETLOCALE
+I18N_DEFS = -DI18N #-DSETLOCALE
I18N_SRC = w_i18n.c
I18N_OBJ = w_i18n.o
#endif
@@ -237,11 +237,13 @@
$(HAVE_NO_STRCASECMP) \
$(NEED_STRERROR)
+/*
#ifdef InstallManPage
#undef InstallManPage
#endif
#define InstallManPage(file,dest) @@\
InstallManPageLong(Doc/file,dest,file)
+*/
#ifdef USESMALLICONS
DUSESMALLICONS = -DUSE_SMALL_ICONS