2006-01-06 23:36:19 +01:00
|
|
|
$NetBSD: patch-af,v 1.13 2006/01/06 22:36:19 adam Exp $
|
1999-05-09 20:47:22 +02:00
|
|
|
|
2006-01-06 23:36:19 +01:00
|
|
|
--- Local.config.orig 2005-04-30 23:33:14.000000000 +0200
|
2004-11-03 16:54:31 +01:00
|
|
|
+++ Local.config
|
2006-01-06 23:36:19 +01:00
|
|
|
@@ -9,7 +9,7 @@ XCOMM $Id: Local.config,v 1.18 2005/03/2
|
2002-12-16 10:29:12 +01:00
|
|
|
XCOMM Local customization
|
2003-07-17 11:01:01 +02:00
|
|
|
|
|
|
|
DESTDIR =
|
2002-12-16 10:29:12 +01:00
|
|
|
-SHAREDIR = /usr/share/xpaint
|
2005-09-06 16:53:36 +02:00
|
|
|
+SHAREDIR = @PREFIX@/share/xpaint
|
2003-07-17 11:01:01 +02:00
|
|
|
|
2004-11-03 16:54:31 +01:00
|
|
|
XCOMM Printing system defaults
|
|
|
|
PRINT_COMMAND = lpr
|
|
|
|
@@ -70,6 +70,9 @@ XCOMM #endif
|
1999-05-09 22:08:15 +02:00
|
|
|
|
|
|
|
#ifdef NetBSDArchitecture
|
|
|
|
ARCH_DEFINES = -DHAVE_PARAM_H
|
|
|
|
+#ifdef arm32Architecture
|
|
|
|
+CDEBUGFLAGS =
|
2002-10-26 21:43:45 +02:00
|
|
|
+#endif
|
2002-12-16 10:29:12 +01:00
|
|
|
#endif
|
1999-05-09 22:08:15 +02:00
|
|
|
|
|
|
|
#ifdef OS2Architecture
|
2004-11-03 16:54:31 +01:00
|
|
|
@@ -132,11 +135,11 @@ XCOMM
|
2000-09-01 15:43:37 +02:00
|
|
|
XCOMM You must have the XPM library.
|
|
|
|
XCOMM Make sure the path name to the library is correct.
|
|
|
|
|
|
|
|
-XPM_LIB = -L/usr/X11R6/lib -lXpm
|
2005-09-06 16:53:36 +02:00
|
|
|
+XPM_LIB = -L@XPMDIR@/lib -Wl,-R@XPMDIR@/lib -lXpm
|
2000-09-01 15:43:37 +02:00
|
|
|
|
|
|
|
XCOMM Make sure this points to the location of the 'xpm.h' file.
|
|
|
|
|
|
|
|
-XPM_INCLUDE = -I/usr/X11R6/include/X11
|
2005-09-06 16:53:36 +02:00
|
|
|
+XPM_INCLUDE = -I@XPMDIR@/include/X11
|
2000-09-01 15:43:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
DEPENDFLAGS = -I./bitmaps
|
2005-09-07 16:10:16 +02:00
|
|
|
@@ -162,20 +165,11 @@ XCOMM CDEBUGFLAGS =
|
2002-10-26 21:43:45 +02:00
|
|
|
|
|
|
|
XCOMM This should take care of everything needed for BSD.
|
1999-05-09 22:08:15 +02:00
|
|
|
|
2002-10-26 21:43:45 +02:00
|
|
|
-#if defined(NetBSDArchitecture) || defined(BSD386Architecture)
|
1999-05-09 20:47:22 +02:00
|
|
|
ARCH_DEFINES = -DHAVE_PARAM_H
|
|
|
|
-TIFF_INCLUDE = -I/usr/local/include
|
|
|
|
-TIFF_LIB = -L/usr/local/lib -ltiff
|
|
|
|
-JPEG_INCLUDE = -I/usr/local/include
|
|
|
|
-JPEG_LIB = -L/usr/local/lib -ljpeg
|
|
|
|
-XPM_INCLUDE = -I/usr/X11R6/include/X11
|
2002-10-26 21:43:45 +02:00
|
|
|
-#endif
|
2005-09-07 16:10:16 +02:00
|
|
|
-
|
|
|
|
-#if defined(FreeBSDArchitecture)
|
|
|
|
-ARCH_DEFINES = -DHAVE_PARAM_H
|
|
|
|
-TIFF_INCLUDE = -I/usr/local/include/tiff34
|
|
|
|
-TIFF_LIB = -L/usr/local/lib -ltiff34
|
|
|
|
-JPEG_INCLUDE = -I/usr/local/include
|
|
|
|
-JPEG_LIB = -L/usr/local/lib -ljpeg
|
|
|
|
-XPM_INCLUDE = -I/usr/X11R6/include/X11
|
|
|
|
-#endif
|
2005-09-06 16:53:36 +02:00
|
|
|
+TIFF_INCLUDE = -I@LOCALBASE@/include
|
|
|
|
+TIFF_LIB = -L@LOCALBASE@/lib -Wl,-R@LOCALBASE@/lib -ltiff
|
|
|
|
+JPEG_INCLUDE = -I@LOCALBASE@/include
|
|
|
|
+JPEG_LIB = -L@LOCALBASE@/lib -Wl,-R@LOCALBASE@/lib -ljpeg
|
|
|
|
+PNG_INCLUDE = -I@LOCALBASE@/include/png
|
|
|
|
+PNG_LIB = -L@LOCALBASE@/lib -Wl,-R@LOCALBASE@/lib -lpng -lz
|
|
|
|
+XPM_INCLUDE = -I@XPMDIR@/include/X11
|