summaryrefslogtreecommitdiff
path: root/net/kmap
diff options
context:
space:
mode:
Diffstat (limited to 'net/kmap')
-rw-r--r--net/kmap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/kmap/Makefile b/net/kmap/Makefile
index 643c91962eb..bdfdbb24e98 100644
--- a/net/kmap/Makefile
+++ b/net/kmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/04/12 23:09:37 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.3 2000/07/10 15:08:18 agc Exp $
#
DISTNAME= kmap-0.5.6
@@ -13,8 +13,8 @@ DEPENDS+= nmap-2.12:../../net/nmap
USE_X11BASE= yes # To get this near KDE
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= QTDIR=${X11BASE}/qt1
-CONFIGURE_ARGS+=--with-qt-dir=${X11BASE}/qt1
+CONFIGURE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
+CONFIGURE_ARGS+=--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
post-patch:
cd ${WRKSRC}/kmap ; \