summaryrefslogtreecommitdiff
path: root/cad/vipec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/vipec/Makefile')
-rw-r--r--cad/vipec/Makefile7
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: