summaryrefslogtreecommitdiff
path: root/graphics/xart/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xart/patches/patch-ac')
-rw-r--r--graphics/xart/patches/patch-ac18
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/xart/patches/patch-ac b/graphics/xart/patches/patch-ac
index 47d412f535d..f3f8d3262dc 100644
--- a/graphics/xart/patches/patch-ac
+++ b/graphics/xart/patches/patch-ac
@@ -1,14 +1,14 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 10:40:54 agc Exp $
+$NetBSD: patch-ac,v 1.3 2000/09/24 03:28:34 hubertf Exp $
---- Local.config.orig Tue Apr 21 01:10:02 1998
-+++ Local.config Tue Apr 21 01:28:13 1998
+--- Local.config.orig Wed Apr 1 02:58:05 1998
++++ Local.config
@@ -62,8 +62,8 @@
#define HaveTIFF
#ifdef HaveTIFF
-TIFF_LIB = -L/usr/local/lib -ltiff
-TIFF_INCLUDE = -I/usr/local/include/tiff
-+TIFF_LIB = -L${LOCALBASE}/lib -ltiff
++TIFF_LIB = -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -ltiff
+TIFF_INCLUDE = -I${LOCALBASE}/include
#endif
@@ -19,7 +19,7 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 10:40:54 agc Exp $
#ifdef HaveJPEG
-JPEG_LIB = -L/usr/local/lib -ljpeg
-JPEG_INCLUDE = -I/usr/local/include/jpeg
-+JPEG_LIB = -L${LOCALBASE}/lib -ljpeg
++JPEG_LIB = -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -ljpeg
+JPEG_INCLUDE = -I${LOCALBASE}/include
#endif
@@ -30,7 +30,7 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 10:40:54 agc Exp $
#ifdef HavePNG
-PNG_LIB = -L/usr/local/lib -lpng -lz
-PNG_INCLUDE = -I/usr/local/include/png
-+PNG_LIB = -L${LOCALBASE}/lib -lpng -lz
++PNG_LIB = -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lpng -lz
+PNG_INCLUDE = -I${LOCALBASE}/include
#endif
@@ -40,7 +40,7 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 10:40:54 agc Exp $
XCOMM Make sure the path name to the library is correct.
-XPM_LIB = -L/usr/X11R6/lib -lXpm
-+XPM_LIB = -L${X11BASE}/lib -lXpm
++XPM_LIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm
XCOMM Make sure this points to the location of the 'xpm.h' file.
@@ -74,8 +74,8 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 10:40:54 agc Exp $
-JPEG_LIB = -L/usr/local/lib -ljpeg
-XPM_INCLUDE = -I/usr/X11R6/include/X11
+TIFF_INCLUDE = -I${LOCALBASE}/include
-+TIFF_LIB = -L${LOCALBASE}/lib -ltiff
++TIFF_LIB = -Wl,-R${LOCALBASE} -L${LOCALBASE}/lib -ltiff
+JPEG_INCLUDE = -I${LOCALBASE}/include
-+JPEG_LIB = -L${LOCALBASE}/lib -ljpeg
++JPEG_LIB = -Wl,-R${LOCALBASE} -L${LOCALBASE}/lib -ljpeg
+XPM_INCLUDE = -I${X11BASE}/include/X11
#endif