summaryrefslogtreecommitdiff
path: root/games/kdetoys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/kdetoys/Makefile')
-rw-r--r--games/kdetoys/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/kdetoys/Makefile b/games/kdetoys/Makefile
index c1399904ccb..04d8adadcdb 100644
--- a/games/kdetoys/Makefile
+++ b/games/kdetoys/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/04/24 14:14:12 tron Exp $
+# $NetBSD: Makefile,v 1.5 2000/07/10 15:08:17 agc Exp $
DISTNAME= kdetoys-1.1.2
CATEGORIES= games kde
@@ -17,10 +17,10 @@ USE_X11BASE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \
- "--with-qt-dir=${X11BASE}/qt1"
+ "--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1"
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= KDEDIR=${PREFIX} \
- QTDIR=${X11BASE}/qt1 \
+ QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \
CXXFLAGS="${CFLAGS}" \
all_libraries="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib"