diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2000-08-30 16:19:42 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2000-08-30 16:19:42 +0000 |
commit | 01ad1fed7cfb8332ad5c6c91a4a00ed593eea748 (patch) | |
tree | 98d17048391ebad601c45f2c342ba9ae4170c01c /cad/vipec/Makefile | |
parent | 1b5c36b2fc29315a2a25469b40721f071ed1089a (diff) | |
download | pkgsrc-01ad1fed7cfb8332ad5c6c91a4a00ed593eea748.tar.gz |
make sure that the configure script is able to correctly link the test
Qt program on ELF platforms.
Diffstat (limited to 'cad/vipec/Makefile')
-rw-r--r-- | cad/vipec/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile index ed49aaa5460..ec023b7f141 100644 --- a/cad/vipec/Makefile +++ b/cad/vipec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2000/08/28 19:52:33 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.18 2000/08/30 16:19:42 dmcmahill Exp $ # DISTNAME= vipec-2.0.4 @@ -16,8 +16,11 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig USE_X11= yes EVAL_PREFIX+= QT2DIR=qt21 +# make sure configure finds png +CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV+= "QTDIR=${QT2DIR}/qt21" \ - all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib" + USER_LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib" \ + CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CONFIGURE_ARGS+= "--with-qt-dir=${QT2DIR}/qt21" post-patch: |