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 /multimedia/xmps | |
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 'multimedia/xmps')
-rw-r--r-- | multimedia/xmps/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile index 36b9123f82d5..8c4339620bb7 100644 --- a/multimedia/xmps/Makefile +++ b/multimedia/xmps/Makefile @@ -25,12 +25,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e "s|-lpthread|-pthread|g" ${WRKSRC}/configure + @${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \ - s|-lpthread|-pthread|g' + s|-lpthread|${PTHREAD_LIBS}|g' post-configure: @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ |