aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmps/Makefile')
-rw-r--r--graphics/xmps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/xmps/Makefile b/graphics/xmps/Makefile
index 8c4339620bb7..b85f9d2430c5 100644
--- a/graphics/xmps/Makefile
+++ b/graphics/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 ; \