diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/dhisd/Makefile | 2 | ||||
-rw-r--r-- | dns/odsclient/Makefile | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile index 14278b5a883a..745ef58f3484 100644 --- a/dns/dhisd/Makefile +++ b/dns/dhisd/Makefile @@ -21,7 +21,7 @@ USE_REINPLACE= yes post-patch: ${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh - cd ${WRKSRC} && ${REINPLACE_CMD} -p e "s^__PREFIX__^${PREFIX}^g" \ + cd ${WRKSRC} && ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" \ Makefile dhisd.h dhisd.sh ${DOCFILES} do-install: diff --git a/dns/odsclient/Makefile b/dns/odsclient/Makefile index cd8a3bbefe3e..0553c98c40ee 100644 --- a/dns/odsclient/Makefile +++ b/dns/odsclient/Makefile @@ -12,10 +12,11 @@ MASTER_SITES= http://www.ods.org/ MAINTAINER= geniusj@ods.org +USE_REINPLACE= yes ALL_TARGET= odsclient post-patch: - @${PERL} -pi -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/odsclient ${PREFIX}/bin |