diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
commit | 4ca0e60800b90ba4a6de31beabeee8ccce611649 (patch) | |
tree | 8324ab31f68eba587c532d238cd3f502d0a56322 /x11-toolkits/wxgtk | |
parent | Update to version 2.28 (diff) |
-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')
-rw-r--r-- | x11-toolkits/wxgtk/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/wxgtk/Makefile b/x11-toolkits/wxgtk/Makefile index 18b8b4f72dfa..b7bcc961ee25 100644 --- a/x11-toolkits/wxgtk/Makefile +++ b/x11-toolkits/wxgtk/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: |