diff options
author | marino <marino@FreeBSD.org> | 2016-11-20 00:42:08 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-11-20 00:42:08 +0800 |
commit | 6c9bdfdab01ab162d85799f6cbe2c5c447aa08dd (patch) | |
tree | 52adac5be533d9f448050c2669cff508da049025 | |
parent | 1de99e42e7ec52eb6ac93a8eb32ac6c120f666b5 (diff) | |
download | freebsd-ports-gnome-6c9bdfdab01ab162d85799f6cbe2c5c447aa08dd.tar.gz freebsd-ports-gnome-6c9bdfdab01ab162d85799f6cbe2c5c447aa08dd.tar.zst freebsd-ports-gnome-6c9bdfdab01ab162d85799f6cbe2c5c447aa08dd.zip |
sysutils/cmdwatch: honor CFLAGS
Approved by: general blanket (FLAGS must be honored)
-rw-r--r-- | sysutils/cmdwatch/files/patch-Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sysutils/cmdwatch/files/patch-Makefile b/sysutils/cmdwatch/files/patch-Makefile index be6a11b3f92b..0bdb8f65784b 100644 --- a/sysutils/cmdwatch/files/patch-Makefile +++ b/sysutils/cmdwatch/files/patch-Makefile @@ -5,11 +5,27 @@ all : startup $(OBJS) - @$(CC) -o cmdwatch $(OBJS) -lcurses -+ @$(CC) -o cmdwatch $(OBJS) $(LDFLAGS) -lncurses ++ @$(CC) $(CFLAGS) -o cmdwatch $(OBJS) $(LDFLAGS) -lncurses @strip cmdwatch @echo " done." -@@ -26,9 +26,9 @@ clean : +@@ -13,22 +13,22 @@ startup : + @echo -n "Making cmdwatch..." + + getopt.o : getopt.c +- @$(CC) -c getopt.c ++ @$(CC) $(CFLAGS) -c getopt.c + + getopt1.o : getopt1.c +- @$(CC) -c getopt1.c ++ @$(CC) $(CFLAGS) -c getopt1.c + + cmdwatch.o : cmdwatch.c +- @$(CC) -c cmdwatch.c ++ @$(CC) $(CFLAGS) -c cmdwatch.c + + clean : + @echo "Making clean..." @rm -f *.o cmdwatch install : all |