diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
commit | 7ef18f14299563025b37cc14ad88ee23667cf783 (patch) | |
tree | 28778dac4b4bd95a8dddcdd306c27fb2b47a1448 /security | |
parent | 3f33af92d9829ce9d687e40c494369892fe87192 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/op/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/security/op/Makefile b/security/op/Makefile index 388644a94c21..124ab6a842af 100644 --- a/security/op/Makefile +++ b/security/op/Makefile @@ -19,6 +19,7 @@ MAINTAINER= cyrille.lefevre@laposte.net # Global variables # +USE_REINPLACE= yes BINMODE= 4555 MAKE_ARGS= BASE="${PREFIX}" \ OPTS='-Dbsdi -DOP_ACCESS=\"${CONF_DIR}/${CONF_FILE}\"' \ @@ -57,13 +58,13 @@ checkout-files: post-patch: patch-makefile patch-conf-file patch-makefile: - @${PERL} -pi.fbsd \ - -e 's|(install)|$$1 -c| if (!/:/);s|CFLAGS=|CFLAGS+=|' \ + @${REINPLACE_CMD} \ + -e '/:/!s|\(install\)|\1 -c|;s|CFLAGS=|CFLAGS+=|' \ ${WRKSRC}/Makefile patch-conf-file: - @${PERL} -pi.fbsd \ - -e 's|^|#| if (!/^#|DEFAULT|MAGIC/);s|/usr/ucb:||' \ + @${REINPLACE_CMD} -E \ + -e '/^#|DEFAULT|MAGIC/!s|^|#|;s|/usr/ucb:||' \ ${WRKSRC}/${CONF_FILE} # Post-install |