diff options
author | sada <sada@FreeBSD.org> | 2002-05-17 22:22:53 +0000 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2002-05-17 22:22:53 +0000 |
commit | 19dbe707a8d658719c8cf7219c1e215e28f41a3c (patch) | |
tree | f39641b6221032cf0f886ed8afd69872b9b7e354 /security | |
parent | 15928c3714fdb6430e846ea9d0806f3d2c1f7b59 (diff) | |
download | FreeBSD-ports-19dbe707a8d658719c8cf7219c1e215e28f41a3c.zip FreeBSD-ports-19dbe707a8d658719c8cf7219c1e215e28f41a3c.tar.gz |
honor CFLAGS.
PR: ports/37112
Submitted by: maintainer
Diffstat (limited to 'security')
-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 96cc3ce..388644a 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 0000000..a19bdc5 --- /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(); + |