summaryrefslogtreecommitdiff
path: root/games/kdetoys
diff options
context:
space:
mode:
authoragc <agc>2000-07-17 13:58:20 +0000
committeragc <agc>2000-07-17 13:58:20 +0000
commit3c4467c66f35f625e6cee5f6df936ca4fb666c71 (patch)
tree80ce1dfa7f48f5669712d69dc38d708196c5df07 /games/kdetoys
parentef0ecb9f5546272fab6b82d71ffa5e5405ebad0f (diff)
downloadpkgsrc-3c4467c66f35f625e6cee5f6df936ca4fb666c71.tar.gz
Use EVAL_PREFIX to find the installed location of the kdebase package, and
use it accordingly.
Diffstat (limited to 'games/kdetoys')
-rw-r--r--games/kdetoys/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/kdetoys/Makefile b/games/kdetoys/Makefile
index 4a7d10fa4a5..b0e560beb56 100644
--- a/games/kdetoys/Makefile
+++ b/games/kdetoys/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/07/15 20:39:18 agc Exp $
+# $NetBSD: Makefile,v 1.9 2000/07/17 13:58:21 agc Exp $
DISTNAME= kdetoys-1.1.2
CATEGORIES= games kde
@@ -17,11 +17,11 @@ USE_X11BASE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-EVAL_PREFIX+= QT1DIR=qt1
-CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \
+EVAL_PREFIX+= QT1DIR=qt1 KDEBASEDIR=kdebase
+CONFIGURE_ARGS= "--datadir=${KDEBASEDIR}/share/kde" \
"--with-qt-dir=${QT1DIR}/qt1"
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV= KDEDIR=${PREFIX} \
+CONFIGURE_ENV= KDEDIR=${KDEBASEDIR} \
QTDIR=${QT1DIR}/qt1 \
CXXFLAGS="${CFLAGS}" \
all_libraries="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib"