1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/print/transfig/files/patch-ac

45 lines
1.4 KiB
Plaintext
Raw Normal View History

--- fig2dev/Imakefile.orig Thu Aug 17 20:13:51 1995
+++ fig2dev/Imakefile Fri Aug 9 21:46:00 1996
@@ -32,10 +32,10 @@
XCOMM the XPM (color pixmap) package and you would like to allow XPM files.
XCOMM You need version 3.4c of the XPM package.
-XCOMM XPMDEFINES = -DUSE_XPM
-XCOMM XPMLIBDIR = -L/usr/local/X11/lib
-XCOMM XPMINCDIR = -I/usr/local/X11/include/xpm
-XCOMM XPMLIB = $(XPMLIBDIR) -lXpm -lX11
+XPMDEFINES = -DUSE_XPM
+XPMLIBDIR = -L/usr/X11R6/lib
+XPMINCDIR = -I/usr/X11R6/include/X11
+XPMLIB = $(XPMLIBDIR) -lXpm -lX11
XCOMM For Linux machines or any machines that have a separate library for
XCOMM the database management routines, uncomment the following line
@@ -67,7 +67,7 @@
XCOMM set JPEGLIBDIR after the #else to the directory where you have the source
XCOMM for jpeg.
-XCOMM #define USEINSTALLEDJPEG
+#define USEINSTALLEDJPEG
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
@@ -78,7 +78,7 @@
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGINCDIR = /usr/local/include
#else
JPEGLIBDIR = ../../jpeg
XCOMM You shouldn't need to change JPEGINCDIR here.
@@ -95,7 +95,7 @@
EXTRA_INCLUDES = $(XPMINCDIR)
LOCAL_LIBRARIES = $(LIBTRANSFIG) -L$(JPEGLIBDIR) -ljpeg
-SYS_LIBRARIES = $(XPMLIB) $(DBMLIB) -lm
+SYS_LIBRARIES = $(XPMLIB) $(DBMLIB) -lm -lcompat
DEPLIBS = $(LIBTRANSFIG)
SRCS = fig2dev.c psfonts.c iso2tex.c arrow.c bound.c\