diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-30 15:49:49 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-30 15:49:49 +0000 |
commit | a698835a1b6da990c6510bb95aa2414af14da863 (patch) | |
tree | 6d0f06b1276c076126ace7c406231a4d77a7b89a | |
parent | Update procmail module. (diff) |
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>
-rw-r--r-- | x11-toolkits/wxgtk-devel/Makefile | 4 |
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" |