ports/sysutils/cdls/files/patch-Makefile
John Marino 179f0e22c3 sysutils/cdls: honor CFLAGS
Approved by:	general blanket (FLAGS must be honored)
2016-11-19 16:36:54 +00:00

9 lines
241 B
Text

--- Makefile.orig 2012-04-13 16:42:46 UTC
+++ Makefile
@@ -1,5 +1,5 @@
all:
- cc -O2 -Wall -o cdls cdls.c -lncurses
+ ${CC} ${CFLAGS} -o cdls cdls.c ${LDFLAGS} -lncurses
install:
install -o root -g wheel cdls /usr/local/bin/cdls
clean: