diff options
author | agc <agc@pkgsrc.org> | 2000-07-11 09:17:08 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-11 09:17:08 +0000 |
commit | 61bff6b21df67525b6e58364562c6ddbbb88f33a (patch) | |
tree | dcec9d9b62dc9b93a5e543e78c773ea310594354 /audio/xsidplay | |
parent | 81b366ad5eea07ccdaf80dd6b3a4527acad60862 (diff) | |
download | pkgsrc-61bff6b21df67525b6e58364562c6ddbbb88f33a.tar.gz |
Don't try to link with ${X11BASE}/qt1/lib and ${LOCALBASE}/qt1/lib, rather
find out where qt1 is installed and use that directory.
Diffstat (limited to 'audio/xsidplay')
-rw-r--r-- | audio/xsidplay/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile index 23643a2c21a..a74173c12e3 100644 --- a/audio/xsidplay/Makefile +++ b/audio/xsidplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2000/07/10 15:08:14 agc Exp $ +# $NetBSD: Makefile,v 1.10 2000/07/11 09:17:08 agc Exp $ # DISTNAME= xsidplay-1_3_9 @@ -20,10 +20,9 @@ USE_GMAKE= yes CONFIGURE_ARGS+= --with-sidplay-includes=${LOCALBASE}/include \ --with-sidplay-library=${LOCALBASE}/lib \ - --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/lib \ - --with-qt-dir=${X11BASE}/qt1 + --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/lib -LDFLAGS+= -Wl,-R${LOCALBASE}/qt1/lib -Wl,-R${X11BASE}/qt1/lib +LDFLAGS+= -Wl,-R`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/lib CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CONFIGURE_ENV+= "MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc" |