aboutsummaryrefslogtreecommitdiffstats
path: root/security/l0pht-watch
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-04-16 18:33:19 +0800
committerkris <kris@FreeBSD.org>1999-04-16 18:33:19 +0800
commit470664cd6783274413f40ca6e64b647128dc2287 (patch)
tree5ac7c0979cb449dc1e9654bebf472702d03696b1 /security/l0pht-watch
parent5b768d22891831d2cb6a85de075a5706a24c2013 (diff)
downloadfreebsd-ports-gnome-470664cd6783274413f40ca6e64b647128dc2287.tar.gz
freebsd-ports-gnome-470664cd6783274413f40ca6e64b647128dc2287.tar.zst
freebsd-ports-gnome-470664cd6783274413f40ca6e64b647128dc2287.zip
Respect CC and CFLAGS.
Diffstat (limited to 'security/l0pht-watch')
-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) \