aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-08-30 23:49:49 +0800
committersobomax <sobomax@FreeBSD.org>2002-08-30 23:49:49 +0800
commitabb9001474ef2c3fed845f5da861e083d6b1ed5a (patch)
tree81a66a06274b4a2dc407fe8541bfa3c1a0e43efb /x11-toolkits
parenta3137284bca6d1e69496e6897ac55da477ea0663 (diff)
downloadfreebsd-ports-gnome-abb9001474ef2c3fed845f5da861e083d6b1ed5a.tar.gz
freebsd-ports-gnome-abb9001474ef2c3fed845f5da861e083d6b1ed5a.tar.zst
freebsd-ports-gnome-abb9001474ef2c3fed845f5da861e083d6b1ed5a.zip
Add -I${WRKSRC}/include into CPPFLAGS, so that the port build even if there
is an older version of wxgtk installed. PR: 34558 Submitted by: Christopher Farley <chris@northernbrewer.com> Add ${PTHREAD_LIBS} info LDFLAGS, so that resulting library is linked with libc_r and users don't need to specify it when linking their apps. PR: 41852 Submitted by: bruno <bruno@mail.tinkerbox.org>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/wxgtk-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/wxgtk-devel/Makefile b/x11-toolkits/wxgtk-devel/Makefile
index 068f81da9d2e..62d1c3b80376 100644
--- a/x11-toolkits/wxgtk-devel/Makefile
+++ b/x11-toolkits/wxgtk-devel/Makefile
@@ -34,9 +34,11 @@ CONFIGURE_ARGS= --with-libpng=sys \
--with-zlib=sys \
--with-opengl
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
+ -I${WRKSRC}/include \
-I${LOCALBASE}/include \
-I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -liconv \
+ LDFLAGS="${PTHREAD_LIBS} \
+ -L${LOCALBASE}/lib -liconv \
-L${X11BASE}/lib" \
GTK_CONFIG_2_0="no"