diff options
Diffstat (limited to 'graphics/xfig-devel/files/patch-aa')
-rw-r--r-- | graphics/xfig-devel/files/patch-aa | 58 |
1 files changed, 36 insertions, 22 deletions
diff --git a/graphics/xfig-devel/files/patch-aa b/graphics/xfig-devel/files/patch-aa index f86ecbb2e75d..374ebc842689 100644 --- a/graphics/xfig-devel/files/patch-aa +++ b/graphics/xfig-devel/files/patch-aa @@ -1,17 +1,28 @@ ---- Imakefile.orig Wed May 30 03:32:11 2001 -+++ Imakefile Tue Jun 26 00:25:33 2001 -@@ -47,8 +47,8 @@ +--- Imakefile.orig Fri Dec 20 02:57:11 2002 ++++ Imakefile Wed Jan 8 09:07:47 2003 +@@ -48,8 +48,8 @@ + XCOMM Redefine the following if your PNG library and/or include file + XCOMM are in different places + +-PNGLIBDIR = $(USRLIBDIR) +-PNGINC = -I/usr/local/include ++PNGLIBDIR = ${LOCALBASE}/lib ++PNGINC = -I${LOCALBASE}/include/libpng + + XCOMM If don't want JPEG support, comment out the #define USEJPEG line + XCOMM Uncomment the #define for USEJPEG if you want to be able to import +@@ -68,8 +68,8 @@ #ifdef USEJPEG #ifdef USEINSTALLEDJPEG -JPEGLIBDIR = /usr/local/lib --JPEGINCDIR = /usr/include/X11 +-JPEGINC = -I/usr/include/X11 +JPEGLIBDIR = ${LOCALBASE}/lib -+JPEGINCDIR = ${LOCALBASE}/include ++JPEGINC = -I${LOCALBASE}/include #else JPEGLIBDIR = ../jpeg - JPEGINCDIR = $(JPEGLIBDIR) -@@ -72,18 +72,18 @@ + JPEGINC = -I$(JPEGLIBDIR) +@@ -87,28 +87,28 @@ 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) @@ -34,8 +45,11 @@ 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 + XCOMM Then be sure to change the XAW3DINC to point to the directory where your + XCOMM 3D Athena widget headers are located + +-XCOMM #define XAW3D ++#define XAW3D #ifdef XAW3D -XAW3DINC = -I/usr/include/X11/Xaw3d @@ -43,16 +57,7 @@ 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 @@ +@@ -154,7 +154,7 @@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures @@ -61,7 +66,16 @@ 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 @@ +@@ -166,7 +166,7 @@ + + XCOMM XFIGDOCDIR tells where the html and pdf documentation should go + XCOMM XFIGDOCDIR = $(DOCDIR)/xfig +-XFIGDOCDIR = /usr/share/doc/xfig ++XFIGDOCDIR = $(LIBDIR)/xfig + + XCOMM MANDIR tells where the standard man pages should go (no need to change it + XCOMM if you want the man pages installed in the standard place on your system +@@ -234,7 +234,7 @@ #endif /* USEJPEG */ #ifdef I18N @@ -70,7 +84,7 @@ I18N_SRC = w_i18n.c I18N_OBJ = w_i18n.o #endif -@@ -237,11 +237,13 @@ +@@ -251,11 +251,13 @@ $(HAVE_NO_STRCASECMP) \ $(NEED_STRERROR) @@ -79,7 +93,7 @@ #undef InstallManPage #endif #define InstallManPage(file,dest) @@\ - InstallManPageLong(Doc/file,dest,file) + InstallManPageLong(file,dest,file) +*/ #ifdef USESMALLICONS |