summaryrefslogtreecommitdiff
path: root/audio/xamp
diff options
context:
space:
mode:
authoragc <agc>2000-07-10 15:08:13 +0000
committeragc <agc>2000-07-10 15:08:13 +0000
commit5f6ab6d9eaf43883d17524072f2c006e5376e3ee (patch)
tree4049372601c8df738c9d8100ec5b6c62cb36e7ae /audio/xamp
parent99d511ce80e5a4a23cf9ac5fcb295524f2b47e7b (diff)
downloadpkgsrc-5f6ab6d9eaf43883d17524072f2c006e5376e3ee.tar.gz
Find qt1 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}.
Pointed out by Dave Sainty <dave@dtsp.co.nz>, munged slightly by me.
Diffstat (limited to 'audio/xamp')
-rw-r--r--audio/xamp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/xamp/Makefile b/audio/xamp/Makefile
index 65e970e5311..29442ea6842 100644
--- a/audio/xamp/Makefile
+++ b/audio/xamp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/03/28 00:09:21 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.4 2000/07/10 15:08:14 agc Exp $
# FreeBSD: ports/audio/xamp/Makefile,v 1.5 1999/08/25 04:36:22 obrien Exp
#
@@ -19,10 +19,10 @@ CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
USE_GMAKE= yes
USE_X11BASE= yes
-CONFIGURE_ARGS+= "--with-qt-dir=${X11BASE}/qt1" \
+CONFIGURE_ARGS+= "--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" \
-CONFIGURE_ENV+= "QTDIR=${X11BASE}/qt1"
-CONFIGURE_ENV+= "MOC=${X11BASE}/qt1/bin/moc"
+CONFIGURE_ENV+= "QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1"
+CONFIGURE_ENV+= "MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin