summaryrefslogtreecommitdiff
path: root/audio/xsidplay
diff options
context:
space:
mode:
authoragc <agc>2000-07-10 15:08:13 +0000
committeragc <agc>2000-07-10 15:08:13 +0000
commit759a1da38c400eb5e5378600820b8900fe956a9a (patch)
tree4049372601c8df738c9d8100ec5b6c62cb36e7ae /audio/xsidplay
parenteebfc40e204b2e2ecf7febe64eb4c275ab6ff2c6 (diff)
downloadpkgsrc-759a1da38c400eb5e5378600820b8900fe956a9a.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/xsidplay')
-rw-r--r--audio/xsidplay/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
index 6729f7ed849..23643a2c21a 100644
--- a/audio/xsidplay/Makefile
+++ b/audio/xsidplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/06/20 21:13:59 pooka Exp $
+# $NetBSD: Makefile,v 1.9 2000/07/10 15:08:14 agc Exp $
#
DISTNAME= xsidplay-1_3_9
@@ -20,13 +20,13 @@ USE_GMAKE= yes
CONFIGURE_ARGS+= --with-sidplay-includes=${LOCALBASE}/include \
--with-sidplay-library=${LOCALBASE}/lib \
- --with-qt-dir=${LOCALBASE}/qt1/lib \
+ --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/lib \
--with-qt-dir=${X11BASE}/qt1
LDFLAGS+= -Wl,-R${LOCALBASE}/qt1/lib -Wl,-R${X11BASE}/qt1/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-CONFIGURE_ENV+= "MOC=${PREFIX}/qt1/bin/moc"
+CONFIGURE_ENV+= "MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc"
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin