diff options
author | agc <agc> | 2000-07-11 09:58:57 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-11 09:58:57 +0000 |
commit | 4b76ea16b8a927011fe16716f76c170278db5c2f (patch) | |
tree | abc12c537600c25a7f2a3fc8a9bb6413cd9e118d /net | |
parent | 22a1dcef2295edece33fe4a539af61ab5326e3f4 (diff) | |
download | pkgsrc-4b76ea16b8a927011fe16716f76c170278db5c2f.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 |