summaryrefslogtreecommitdiff
path: root/graphics/giram
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-15 20:39:13 +0000
committeragc <agc@pkgsrc.org>2000-07-15 20:39:13 +0000
commit78748d628ac4db618c18ea933eb98fe9246df465 (patch)
tree16d493248b3dac046feba96b3b2a8fb8abcc8be3 /graphics/giram
parentdd401e22851828e896a3520cc4279e86e69fdb8e (diff)
downloadpkgsrc-78748d628ac4db618c18ea933eb98fe9246df465.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/giram')
-rw-r--r--graphics/giram/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile
index 61508433cc0..094a7c1e115 100644
--- a/graphics/giram/Makefile
+++ b/graphics/giram/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2000/07/14 16:04:23 agc Exp $
+# $NetBSD: Makefile,v 1.12 2000/07/15 20:39:20 agc Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1999/06/19 17:38:24 cpiazza Exp $
DISTNAME= Giram-0.1.2
@@ -17,7 +17,9 @@ DEPENDS+= povray-*:../../graphics/povray
USE_X11= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG="`${SHOW_PREFIX1} gtk+ ${SHOW_PREFIX2}`/bin/gtk-config" \
+
+EVAL_PREFIX+= GTKDIR=gtk+
+CONFIGURE_ENV= GTK_CONFIG="${GTKDIR}/bin/gtk-config" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
ALL_TARGET= install-strip