diff options
-rw-r--r-- | mail/cclient/Makefile | 3 | ||||
-rw-r--r-- | mail/drac/Makefile | 3 | ||||
-rw-r--r-- | net/pxe/Makefile | 3 | ||||
-rw-r--r-- | security/vpnd/Makefile | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile index 41c793e..16b52b8 100644 --- a/mail/cclient/Makefile +++ b/mail/cclient/Makefile @@ -27,6 +27,7 @@ USE_OPENSSL= yes .endif WRKSRC= ${WRKDIR}/imap-2001a +USE_REINPLACE= yes SHLIBBASE= c-client4 SHLIBMAJ= 8 @@ -45,7 +46,7 @@ SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0 post-patch: .for file in ${PREFIX_FIX_FILES} - @${PERL} -pi -ne "s!/usr/local!${PREFIX}!g" ${WRKSRC}/${file} + @${REINPLACE_CMD} -ne "s!/usr/local!${PREFIX}!g" ${WRKSRC}/${file} .endfor post-configure: diff --git a/mail/drac/Makefile b/mail/drac/Makefile index b07096f..822dd18 100644 --- a/mail/drac/Makefile +++ b/mail/drac/Makefile @@ -22,6 +22,7 @@ LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 .endif NO_WRKSUBDIR= yes +USE_REINPLACE= yes MAN3= dracauth.3 MAN1= rpc.dracd.1 @@ -45,7 +46,7 @@ pre-everything:: @${ECHO} "=============================================================" post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m do-install: @${INSTALL_PROGRAM} ${WRKSRC}/rpc.dracd ${PREFIX}/sbin/ diff --git a/net/pxe/Makefile b/net/pxe/Makefile index a39bea5..111ebe1 100644 --- a/net/pxe/Makefile +++ b/net/pxe/Makefile @@ -14,6 +14,7 @@ MASTER_SITES= http://www.kano.org.uk/projects/pxe/ \ MAINTAINER= anders@FreeBSD.org GNU_CONFIGURE= yes +USE_REINPLACE= yes CONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \ --with-log=/var/log/pxe.log \ --with-setuid=nobody @@ -21,7 +22,7 @@ CONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \ DOCS= Changes INSTALL LICENCE README post-patch: - ${PERL} -pi -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \ + ${REINPLACE_CMD} -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \ s,^CC.*,CC=\t${CXX}," \ ${WRKSRC}/Makefile.in diff --git a/security/vpnd/Makefile b/security/vpnd/Makefile index 420d947..2b50143 100644 --- a/security/vpnd/Makefile +++ b/security/vpnd/Makefile @@ -15,6 +15,7 @@ MAINTAINER= anders@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME} HAS_CONFIGURE= yes +USE_REINPLACE= yes DOCFILES= README FAQ.TXT SPEED.TXT VERSIONS @@ -24,7 +25,8 @@ post-patch: < ${WRKSRC}/Makefile.FreeBSD.in_tmp > ${WRKSRC}/Makefile.FreeBSD.in pre-configure: - ${PERL} -pi.orig -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" ${WRKSRC}/configure + ${REINPLACE_CMD} -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" \ + ${WRKSRC}/configure do-install: @${INSTALL_PROGRAM} ${WRKSRC}/vpnd ${PREFIX}/sbin/vpnd |