summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authoragc <agc>2000-07-17 13:58:20 +0000
committeragc <agc>2000-07-17 13:58:20 +0000
commit8f452557507cf8d1a570c23fdf3dfcc0634b78c8 (patch)
tree80ce1dfa7f48f5669712d69dc38d708196c5df07 /games
parent6959784963b1266659d98eeac8dc750d398e25f0 (diff)
downloadpkgsrc-8f452557507cf8d1a570c23fdf3dfcc0634b78c8.tar.gz
Use EVAL_PREFIX to find the installed location of the kdebase package, and
use it accordingly.
Diffstat (limited to 'games')
-rw-r--r--games/kdegames/Makefile8
-rw-r--r--games/kdetoys/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/games/kdegames/Makefile b/games/kdegames/Makefile
index eae82451483..f30456a2684 100644
--- a/games/kdegames/Makefile
+++ b/games/kdegames/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2000/07/15 20:39:18 agc Exp $
+# $NetBSD: Makefile,v 1.41 2000/07/17 13:58:20 agc Exp $
# FreeBSD Id: Makefile,v 1.3 1997/11/05 04:19:49 asami Exp
#
@@ -18,11 +18,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} \
CXXFLAGS="${CFLAGS}" \
all_libraries="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib"
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"