diff options
Diffstat (limited to 'devel/p4db/Makefile')
-rw-r--r-- | devel/p4db/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/p4db/Makefile b/devel/p4db/Makefile index c9c3bf6..0625606 100644 --- a/devel/p4db/Makefile +++ b/devel/p4db/Makefile @@ -45,12 +45,11 @@ post-extract: done post-patch: - ${PERL} -pi \ - -e 's,!!PREFIX!!,${PREFIX},g;' \ - -e 's,!!PERFORCE_USER!!,p4admin,g;' \ - -e 's,!!PERFORCE_GROUP!!,p4admin,g;' \ - -e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \ - -e 's,!!FQDN!!,${FQDN},g;' \ + @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \ + -e 's,!!PERFORCE_USER!!,p4admin,' \ + -e 's,!!PERFORCE_GROUP!!,p4admin,' \ + -e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},' \ + -e 's,!!FQDN!!,${FQDN},' \ ${WRKSRC}/${PORTNAME}/P4DB.conf.sample ${FIND} ${WRKSRC}/${PORTNAME} -name '*.orig' -delete |