summaryrefslogtreecommitdiffstats
path: root/multimedia/xmps/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-04-02 09:12:43 +0000
committersobomax <sobomax@FreeBSD.org>2001-04-02 09:12:43 +0000
commitb625aefd221c0f19da86b771efe2e0cc8f2f2283 (patch)
tree8b7d2bf1d17eebfd68d074b076266eff45a6619c /multimedia/xmps/Makefile
parent461df437f1c07993667cb292df193159a741696d (diff)
downloadFreeBSD-ports-b625aefd221c0f19da86b771efe2e0cc8f2f2283.zip
FreeBSD-ports-b625aefd221c0f19da86b771efe2e0cc8f2f2283.tar.gz
Fix the build on -current (PTHREAD_LIBS conversion victim).
Prompted by: Michael McGoldrick <mtm98@doc.ic.ac.uk>
Diffstat (limited to 'multimedia/xmps/Makefile')
-rw-r--r--multimedia/xmps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/xmps/Makefile b/multimedia/xmps/Makefile
index 8c433962..b85f9d2 100644
--- a/multimedia/xmps/Makefile
+++ b/multimedia/xmps/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
SDL_CONFIG="${SDL_CONFIG}" \
LDFLAGS="-L${LOCALBASE}/lib"
-pre-patch:
+post-patch:
@${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
OpenPOWER on IntegriCloud