summaryrefslogtreecommitdiff
path: root/x11/ebuilder
diff options
context:
space:
mode:
authoragc <agc>2000-07-15 20:39:13 +0000
committeragc <agc>2000-07-15 20:39:13 +0000
commit99e9734c1322552385b4029f09f3dc349f4a2510 (patch)
tree16d493248b3dac046feba96b3b2a8fb8abcc8be3 /x11/ebuilder
parent52fb06f2eeb47f6a33f713dd9a58a5743c6b314f (diff)
downloadpkgsrc-99e9734c1322552385b4029f09f3dc349f4a2510.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 'x11/ebuilder')
-rw-r--r--x11/ebuilder/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/ebuilder/Makefile b/x11/ebuilder/Makefile
index 5bb88016a36..75d8e1ac4f4 100644
--- a/x11/ebuilder/Makefile
+++ b/x11/ebuilder/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/07/14 16:04:26 agc Exp $
+# $NetBSD: Makefile,v 1.5 2000/07/15 20:39:25 agc Exp $
#
DISTNAME= ebuilder-0.56c
@@ -13,7 +13,9 @@ DEPENDS+= qt2-*:../../x11/qt
DEPENDS+= png-*:../../graphics/png
USE_X11= yes
-MAKE_ENV= QTDIR=`${SHOW_PREFIX1} qt2 ${SHOW_PREFIX2}`/qt2
+
+EVAL_PREFIX+= QT2DIR=qt2
+MAKE_ENV= QTDIR=${QT2DIR}/qt2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ebuilder ${PREFIX}/bin