diff options
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 7576270d914c..ca327d415e56 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 e26bac3f6f7d..f5ddc251077d 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) |