aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/nomarch/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile
index ae696df11c4f..f12ad53c88f1 100644
--- a/archivers/nomarch/Makefile
+++ b/archivers/nomarch/Makefile
@@ -16,10 +16,12 @@ MAINTAINER= erwin@lansing.dk
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
+
MAN1= nomarch.1
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,^PREFIX,#PREFIX,g ; \
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile