summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/xmms-paranormal/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/xmms-paranormal/Makefile b/graphics/xmms-paranormal/Makefile
index ff9255389126..9f3417950cd3 100644
--- a/graphics/xmms-paranormal/Makefile
+++ b/graphics/xmms-paranormal/Makefile
@@ -29,8 +29,10 @@ USE_GNOME= gtk12
USE_GMAKE= yes
USE_MESA= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
-pre-build:
- @${PERL} -pi -e 's|SDL/|SDL11/|g;' ${WRKSRC}/xmms.c
+post-patch:
+ @${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' \
+ ${BUILD_WRKSRC}/xmms.c
.include <bsd.port.mk>