summaryrefslogtreecommitdiff
path: root/devel/oaf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/oaf/Makefile')
-rw-r--r--devel/oaf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile
index 27a0c1a99094..82e5c6894f2b 100644
--- a/devel/oaf/Makefile
+++ b/devel/oaf/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
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 ; \