diff options
author | agc <agc@pkgsrc.org> | 2000-07-11 09:58:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-11 09:58:57 +0000 |
commit | f1baea8ac04ca6923da9891695759553a98016c6 (patch) | |
tree | abc12c537600c25a7f2a3fc8a9bb6413cd9e118d /net | |
parent | beb36846ba35eff8a317eb902265ed9a32450f6c (diff) | |
download | pkgsrc-f1baea8ac04ca6923da9891695759553a98016c6.tar.gz |
Use pkg_info(1) to find the installed location of qt1, rather than
hardcoding a best guess.
Diffstat (limited to 'net')
-rw-r--r-- | net/kxicq/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/kxicq/Makefile b/net/kxicq/Makefile index 4a648ba5b5b..bfe96da5864 100644 --- a/net/kxicq/Makefile +++ b/net/kxicq/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/07/06 16:51:23 tron Exp $ +# $NetBSD: Makefile,v 1.2 2000/07/11 09:58:57 agc Exp $ DISTNAME= kxicq-03132000 CATEGORIES= net kde @@ -16,11 +16,11 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig USE_LIBTOOL= 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 CONFIGURE_ENV+= KDEDIR=${PREFIX} \ CPPFLAGS="${CPPFLAGS}" \ CXXFLAGS="${CFLAGS}" \ - all_libraries="-Wl,-R${X11BASE}/qt1/lib -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -ltiff -ljpeg -lpng -lz" + all_libraries="-Wl,-R`${PKG_INFO} -qp qt1 | ${AWK} '{print $$2}'`/qt1/lib -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -ltiff -ljpeg -lpng -lz" post-extract: @${RM} -fr ${WRKSRC}/kxicq/ltdl |