summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-04-16 10:33:19 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-04-16 10:33:19 +0000
commit349268ac438a41d9bbbe9f5f285bb238b5d53ae3 (patch)
tree2e1025a6adfa850862bd7a171203040de31d1c60 /security
parentRespect CC and CFLAGS (diff)
Respect CC and CFLAGS.
Notes
Notes: svn path=/head/; revision=17920
Diffstat (limited to 'security')
-rw-r--r--security/l0pht-watch/files/patch-aa24
1 files changed, 21 insertions, 3 deletions
diff --git a/security/l0pht-watch/files/patch-aa b/security/l0pht-watch/files/patch-aa
index a468934e8a98..4443d43c79d4 100644
--- a/security/l0pht-watch/files/patch-aa
+++ b/security/l0pht-watch/files/patch-aa
@@ -1,10 +1,28 @@
---- Makefile.orig Mon Jan 11 09:15:47 1999
-+++ Makefile Mon Jan 11 09:16:07 1999
-@@ -8,7 +8,6 @@
+--- Makefile.orig Tue Dec 29 03:57:35 1998
++++ Makefile Sun Apr 11 20:32:06 1999
+@@ -8,12 +8,13 @@
# pick gcc if you'd rather , and/or do -g instead of -O if debugging
# debugging
# DFLAGS = -DTEST -DDEBUG
-CFLAGS =-O -Wall
++CFLAGS ?= -O
++CFLAGS += -Wall
XFLAGS = # xtra cflags, set by systype targets
XLIBS = # xtra libs if necessary?
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
+ STATIC =
+-CC = cc $(CFLAGS)
++CC ?= cc
+ LD = $(CC) -s # linker; defaults to stripped executables
+ o = o # object extension
+ CKTEMP_OBJS=check_tmp.o daemon.o list_utils.o usage.o
+@@ -59,7 +60,8 @@
+
+ OpenBSD:
+ make -e $(ALL) $(MFLAGS) \
+- XFLAGS='-DBSD -DREGEX -DREGCOMP_3C' CC="gcc $(CFLAGS)" STATIC=-static
++ XFLAGS='-DBSD -DREGEX -DREGCOMP_3C' CC="$(CC) $(CFLAGS)" \
++ STATIC=-static
+
+ generic:
+ make -e $(ALL) $(MFLAGS) \