summaryrefslogtreecommitdiff
path: root/print/transfig/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-11 02:59:47 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-11 02:59:47 +0000
commit0c8e320e647616e8ed5e98447a59ab5d18efd4a4 (patch)
treea0a33f22d5675b928f88b049fd7dca563ba8b38b /print/transfig/files/patch-ac
parent- make -> MAKE (diff)
Update to version 3.2.3c.
PR: 23278 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=35869
Diffstat (limited to 'print/transfig/files/patch-ac')
-rw-r--r--print/transfig/files/patch-ac39
1 files changed, 14 insertions, 25 deletions
diff --git a/print/transfig/files/patch-ac b/print/transfig/files/patch-ac
index 8ebf848695c1..a2d755141c5e 100644
--- a/print/transfig/files/patch-ac
+++ b/print/transfig/files/patch-ac
@@ -1,24 +1,24 @@
---- fig2dev/Imakefile.orig Fri Jan 14 12:59:04 2000
-+++ fig2dev/Imakefile Sat Jan 22 09:16:13 2000
-@@ -27,7 +27,7 @@
+--- fig2dev/Imakefile.orig Fri Jul 21 01:38:53 2000
++++ fig2dev/Imakefile Sat Jul 29 00:55:31 2000
+@@ -28,7 +28,7 @@
XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
XCOMM and installed xfig. This will be made automatic in the future.
-XFIGLIBDIR = /usr/local/lib/X11/xfig
+XFIGLIBDIR = $(LIBDIR)/xfig
+ XCOMM ******
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
- XCOMM comment out NEED_STRERROR with an XCOMM comment.
-@@ -38,7 +38,7 @@
+@@ -47,7 +47,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 ****************
XCOMM Change RGB if necessary, to point to your rgb.txt color database
- XCOMM file (for X11). This is needed for the -g (background color) option.
-@@ -54,11 +54,11 @@
+@@ -67,11 +67,11 @@
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
XCOMM
@@ -31,20 +31,20 @@
+XPMINC = -I$(INCDIR)/X11
#endif
- XCOMM For Linux machines or any machines that have a separate library for
-@@ -87,8 +87,8 @@
+ XCOMM ****************
+@@ -91,8 +91,8 @@
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
-+JPEGLIBDIR = %%LOCALBASE%%/lib
-+JPEGINCDIR = %%LOCALBASE%%/include
++JPEGLIBDIR = ${LOCALBASE}/lib
++JPEGINCDIR = ${LOCALBASE}/include
#else
JPEGLIBDIR = ../jpeg
JPEGINCDIR = $(JPEGLIBDIR)
-@@ -127,12 +127,12 @@
-
+@@ -141,11 +141,11 @@
+ XCOMM ****************
XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig.
-XCOMM #define I18N
@@ -53,18 +53,7 @@
#ifdef I18N
I18N_DEFS = -DI18N
-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
--I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"'
+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
-+I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(FIG2DEV_LIBDIR)\"'
+ I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
install::
- [ -d $(FIG2DEV_LIBDIR) ] || mkdir $(FIG2DEV_LIBDIR)
-@@ -177,7 +177,7 @@
- DUSEJPEG = -DUSE_JPEG
-
- #ifdef USEINSTALLEDJPEG
--JPEGLIBDIR = /usr/local/lib
-+JPEGLIBDIR = %%LOCALBASE%%/lib
- JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
- #else
- XCOMM this is relative to this directory (transfig/fig2dev)