1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

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>
This commit is contained in:
Maxim Sobolev 2002-08-30 15:49:49 +00:00
parent a4719f0cdf
commit a698835a1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65316

View File

@ -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"