blob: 8c68feed3314c808a4d5c43e5a1c16edc514e500 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
--- fig2dev/Imakefile.orig Tue Jun 30 16:52:50 1998
+++ fig2dev/Imakefile Fri Dec 24 10:44:17 1999
@@ -31,7 +31,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 = $(PREFIX)/lib/X11/xfig
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
XCOMM comment out NEED_STRERROR with an XCOMM comment.
@@ -42,7 +42,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 Unomment the #define for USEXPM if you want to use the XPM
XCOMM (color pixmap) package.
@@ -112,11 +112,11 @@
XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig.
-XCOMM #define I18N
+#define I18N
#ifdef I18N
I18N_DEFS = -DI18N
-I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"'
+I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(PREFIX)/lib/X11/fig2dev\"'
#endif
DEFINES = $(NEED_STRERROR) $(HAVE_NO_STRCASECMP) $(HAVE_NO_STRNCASECMP) $(USEINLINE) \
@@ -154,7 +154,7 @@
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGINCDIR = /usr/local/include
JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
XCOMM this is relative to this directory (transfig/fig2dev)
@@ -182,7 +182,7 @@
INCLUDES = -I..
LOCAL_LIBRARIES = $(LIBTRANSFIG) $(JPEGLIB)
-#if defined(NetBSDArchitecture)
+#if defined(NetBSDArchitecture) || defined(FreeBSDArchitecture)
SYS_LIBRARIES = $(XPMLIBS) $(DBMLIB) -lm -lcompat
#else
SYS_LIBRARIES = $(XPMLIBS) $(DBMLIB) -lm
|