diff options
-rw-r--r-- | security/op/Makefile | 6 | ||||
-rw-r--r-- | security/op/files/patch-lex.l | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/security/op/Makefile b/security/op/Makefile index 96cc3cec217f..388644a94c21 100644 --- a/security/op/Makefile +++ b/security/op/Makefile @@ -57,11 +57,13 @@ checkout-files: post-patch: patch-makefile patch-conf-file patch-makefile: - @${PERL} -pi.fbsd -e 's|(install)|$$1 -c| if (!/:/);' \ + @${PERL} -pi.fbsd \ + -e 's|(install)|$$1 -c| if (!/:/);s|CFLAGS=|CFLAGS+=|' \ ${WRKSRC}/Makefile patch-conf-file: - @${PERL} -pi.fbsd -e 's|^|#| if (!/^#|DEFAULT|MAGIC/);s|/usr/ucb:||;' \ + @${PERL} -pi.fbsd \ + -e 's|^|#| if (!/^#|DEFAULT|MAGIC/);s|/usr/ucb:||' \ ${WRKSRC}/${CONF_FILE} # Post-install diff --git a/security/op/files/patch-lex.l b/security/op/files/patch-lex.l new file mode 100644 index 000000000000..a19bdc55ada7 --- /dev/null +++ b/security/op/files/patch-lex.l @@ -0,0 +1,10 @@ +--- lex.l.orig Mon Apr 15 23:30:47 2002 ++++ lex.l Mon Apr 15 23:30:18 2002 +@@ -14,6 +14,7 @@ + #include <ctype.h> + #include "defs.h" + ++static int addarg(); + static cmd_t *newcmd(); + char *savestr(); + |