aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/NeTraMet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/NeTraMet/Makefile')
-rw-r--r--net-mgmt/NeTraMet/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/NeTraMet/Makefile b/net-mgmt/NeTraMet/Makefile
index 892b8fc72f7b..f4b8ec694505 100644
--- a/net-mgmt/NeTraMet/Makefile
+++ b/net-mgmt/NeTraMet/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= olgeni@FreeBSD.org
WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}
+USE_REINPLACE= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
@@ -27,6 +28,6 @@ PLIST_SUB= MOTIF="@comment "
.endif
post-patch:
- ${PERL} -pi -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
+ ${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
.include <bsd.port.mk>