diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-03-30 00:35:19 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-03-30 00:35:19 +0800 |
commit | 6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch) | |
tree | c23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /x11-toolkits/wxgtk-devel | |
parent | faa774bb672904227e681f88c16cfceef448ef6c (diff) | |
download | freebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz freebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.zst freebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip |
-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}
Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
Diffstat (limited to 'x11-toolkits/wxgtk-devel')
-rw-r--r-- | x11-toolkits/wxgtk-devel/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/wxgtk-devel/Makefile b/x11-toolkits/wxgtk-devel/Makefile index 18b8b4f72dfa..b7bcc961ee25 100644 --- a/x11-toolkits/wxgtk-devel/Makefile +++ b/x11-toolkits/wxgtk-devel/Makefile @@ -29,12 +29,12 @@ CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys -CONFIGURE_ENV= CPPFLAGS="-D_THREAD_SAFE -I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" AUTOCONF= autoconf && \ - ${PERL} -pi -e 's|-l\$$THREADS_LIB|-pthread|g ; \ - s|-l\$$THREADS_LINK|-pthread|g' \ + ${PERL} -pi -e 's|-l\$$THREADS_LIB|${PTHREAD_LIBS}|g ; \ + s|-l\$$THREADS_LINK|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure post-install: |