summaryrefslogtreecommitdiff
path: root/x11-wm/clementine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/clementine/Makefile')
-rw-r--r--x11-wm/clementine/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-wm/clementine/Makefile b/x11-wm/clementine/Makefile
index 669c17f2b2d6..774a364f03a9 100644
--- a/x11-wm/clementine/Makefile
+++ b/x11-wm/clementine/Makefile
@@ -21,11 +21,13 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE= yes
USE_X_PREFIX= yes
DOCS= COPYING HISTORY LICENSE
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i'' -E
post-patch:
- ${PERL} -pi -e 's:^CFLAGS:IGNORE:g ; s:^DEFINES:IGNORE:g' \
+ ${REINPLACE_CMD} 's:^CFLAGS:IGNORE:g ; s:^DEFINES:IGNORE:g' \
${WRKSRC}/Makefile
- ${PERL} -pi -e 's:./clementine:${PREFIX}/bin/clementine:g' \
+ ${REINPLACE_CMD} 's:./clementine:${PREFIX}/bin/clementine:g' \
${WRKSRC}/windowmanager.cpp
pre-install: