aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk24
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-04-14 15:39:50 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-04-14 15:39:50 +0000
commit68d7cdcd02f25d3e8844708b0a7ca2a5798fef99 (patch)
tree1c23c309776ea8cc25b058d8e47a54bb4211d620 /x11-toolkits/wxgtk24
parent74e08dd7020ed6c9311365589acd17a107e094f4 (diff)
downloadports-68d7cdcd02f25d3e8844708b0a7ca2a5798fef99.tar.gz
ports-68d7cdcd02f25d3e8844708b0a7ca2a5798fef99.zip
Notes
Diffstat (limited to 'x11-toolkits/wxgtk24')
-rw-r--r--x11-toolkits/wxgtk24/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/wxgtk24/Makefile b/x11-toolkits/wxgtk24/Makefile
index 6994db7b2eda..0bcc8dfe1aec 100644
--- a/x11-toolkits/wxgtk24/Makefile
+++ b/x11-toolkits/wxgtk24/Makefile
@@ -23,6 +23,7 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_MESA= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
@@ -31,7 +32,9 @@ CONFIGURE_ARGS= --with-libpng=sys \
--with-libjpeg=sys \
--with-libtiff=sys \
--with-zlib=sys \
- --with-opengl
+ --with-opengl \
+ --host=${CONFIGURE_TARGET} \
+ --build=${CONFIGURE_TARGET}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
-I${WRKSRC}/include \
-I${LOCALBASE}/include \
@@ -40,8 +43,8 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
-L${X11BASE}/lib -lm"
pre-patch:
- @${PERL} -pi -e 's|-l\$$THREADS_LIB|${PTHREAD_LIBS}|g ; \
- s|-l\$$THREADS_LINK|${PTHREAD_LIBS}|g' \
+ @${REINPLACE_CMD} -e 's|-l[$$]THREADS_LIB|${PTHREAD_LIBS}|g ; \
+ s|-l[$$]THREADS_LINK|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
post-install: