summaryrefslogtreecommitdiff
path: root/graphics/gimp-helpbrowser
diff options
context:
space:
mode:
authoragc <agc>2000-07-15 20:39:13 +0000
committeragc <agc>2000-07-15 20:39:13 +0000
commit2e47c2f37e9c8e19fbffffeab1f56ce32e02d121 (patch)
tree16d493248b3dac046feba96b3b2a8fb8abcc8be3 /graphics/gimp-helpbrowser
parent820a71a77a3d89ccc6a901be882dcc2ebe3a5d26 (diff)
downloadpkgsrc-2e47c2f37e9c8e19fbffffeab1f56ce32e02d121.tar.gz
Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This has not been added to MAKEFLAGS because (a) premature optimisation is the root of all evil, and (b) because the .for loop used to implement this shows the wrong results when multiple prefices are evaluated. Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying them considerably. ALso simplify the logic to calculate the prefix as well.
Diffstat (limited to 'graphics/gimp-helpbrowser')
-rw-r--r--graphics/gimp-helpbrowser/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/gimp-helpbrowser/Makefile b/graphics/gimp-helpbrowser/Makefile
index 06db44bd5ce..9d5aa539035 100644
--- a/graphics/gimp-helpbrowser/Makefile
+++ b/graphics/gimp-helpbrowser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/07/14 16:04:22 agc Exp $
+# $NetBSD: Makefile,v 1.8 2000/07/15 20:39:19 agc Exp $
DISTNAME= gimp-1.1.24
PKGNAME= ${DISTNAME:S/-/-helpbrowser-/}
@@ -18,7 +18,9 @@ USE_X11BASE= yes
USE_GMAKE= yes
USE_PKGLIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-gtk-prefix="`${SHOW_PREFIX1} gtk+ ${SHOW_PREFIX2}`" \
+
+EVAL_PREFIX+= GTKDIR=gtk+
+CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}" \
--disable-perl \
--disable-python
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" INTLLIBS="-lintl" \