aboutsummaryrefslogtreecommitdiff
path: root/net/dhid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhid/Makefile')
-rw-r--r--net/dhid/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
index abe318814d5d..01e9efed30ff 100644
--- a/net/dhid/Makefile
+++ b/net/dhid/Makefile
@@ -14,13 +14,14 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= oryx@ungulate.net
+USE_REINPLACE= yes
OLDWRKSRC= ${WRKDIR}/${PORTNAME}-3.1
MAN8= dhid.8
post-patch:
@${ECHO} "===> Patching dhid.h"
- ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h
+ ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin