summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2002-05-17 22:22:53 +0000
committersada <sada@FreeBSD.org>2002-05-17 22:22:53 +0000
commit19dbe707a8d658719c8cf7219c1e215e28f41a3c (patch)
treef39641b6221032cf0f886ed8afd69872b9b7e354 /security
parent15928c3714fdb6430e846ea9d0806f3d2c1f7b59 (diff)
downloadFreeBSD-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/Makefile6
-rw-r--r--security/op/files/patch-lex.l10
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();
+
OpenPOWER on IntegriCloud