summaryrefslogtreecommitdiff
path: root/graphics/giftrans
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /graphics/giftrans
parentUpdate to version 2.2.6 (diff)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'graphics/giftrans')
-rw-r--r--graphics/giftrans/Makefile2
-rw-r--r--graphics/giftrans/files/patch-aa2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/giftrans/Makefile b/graphics/giftrans/Makefile
index 40706b3d721d..bb25a6585d09 100644
--- a/graphics/giftrans/Makefile
+++ b/graphics/giftrans/Makefile
@@ -27,7 +27,7 @@ do-extract:
done
post-patch:
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/giftrans.c
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/giftrans.c
do-build:
(cd ${WRKSRC}; ${CC} ${CFLAGS} giftrans.c -o giftrans)
diff --git a/graphics/giftrans/files/patch-aa b/graphics/giftrans/files/patch-aa
index 65752726593a..26b44f545290 100644
--- a/graphics/giftrans/files/patch-aa
+++ b/graphics/giftrans/files/patch-aa
@@ -5,7 +5,7 @@
#ifndef RGBTXT
#ifdef X11
-#define RGBTXT "/usr/lib/X11/rgb.txt"
-+#define RGBTXT "%%X11BASE%%/lib/X11/rgb.txt"
++#define RGBTXT "%%LOCALBASE%%/lib/X11/rgb.txt"
#else /* X11 */
#ifdef OPENWIN
#define RGBTXT "/usr/openwin/lib/rgb.txt"