diff options
author | agc <agc@pkgsrc.org> | 2000-07-15 20:39:13 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-15 20:39:13 +0000 |
commit | 78748d628ac4db618c18ea933eb98fe9246df465 (patch) | |
tree | 16d493248b3dac046feba96b3b2a8fb8abcc8be3 /net/xtraceroute | |
parent | dd401e22851828e896a3520cc4279e86e69fdb8e (diff) | |
download | pkgsrc-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 'net/xtraceroute')
-rw-r--r-- | net/xtraceroute/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/xtraceroute/Makefile b/net/xtraceroute/Makefile index 585549abbcd..887c70066bd 100644 --- a/net/xtraceroute/Makefile +++ b/net/xtraceroute/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/07/14 16:04:25 agc Exp $ +# $NetBSD: Makefile,v 1.14 2000/07/15 20:39:24 agc Exp $ # DISTNAME= xtraceroute-0.8.14 @@ -15,7 +15,9 @@ DEPENDS+= tiff-*:../../graphics/tiff USE_X11= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-gtk-prefix="`${SHOW_PREFIX1} gtk+ ${SHOW_PREFIX2}`" + +EVAL_PREFIX+= GTKDIR=gtk+ +CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}" # XXX Actually, Mesa's in X11PREFIX too, but as our tiff is in LOCALBASE # and xtraceroute doesn't have a switch to tell it so (yet?), we abuse # the --with-GL-prefix switch for this. |