diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
commit | 6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch) | |
tree | c23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /net-p2p | |
parent | faa774bb672904227e681f88c16cfceef448ef6c (diff) | |
download | FreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip FreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz |
-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 'net-p2p')
-rw-r--r-- | net-p2p/fidelio/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/teknap/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/fidelio/Makefile b/net-p2p/fidelio/Makefile index 7576270..ca327d4 100644 --- a/net-p2p/fidelio/Makefile +++ b/net-p2p/fidelio/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libxml2 \ XML_CONFIG="${XML_CONFIG}" pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ diff --git a/net-p2p/teknap/Makefile b/net-p2p/teknap/Makefile index e26bac3..f5ddc25 100644 --- a/net-p2p/teknap/Makefile +++ b/net-p2p/teknap/Makefile @@ -53,7 +53,7 @@ pre-extract: @${ECHO} "WITH_XMMS - Support XMMS" pre-configure: - @${PERL} -pi -e "s:-lc_r:-pthread:g" ${WRKSRC}/configure + @${PERL} -pi -e "s:-lc_r:${PTHREAD_LIBS}:g" ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) |