freebsd-ports/databases/dbview/files/patch-Makefile
Alex Kozlov 540ba26317 - Support STAGEDIR
- Rename patches according to porter's handbook
- Convert to PLIST_FILES
2013-10-23 17:51:19 +00:00

26 lines
525 B
Text

--- Makefile.orig Fri Sep 27 00:05:30 1996
+++ Makefile Tue Apr 29 02:41:08 2003
@@ -18,8 +18,6 @@
MAN=man
-CC= gcc
-CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe
# CFLAGS= -g -fomit-frame-pointer -Wall -pipe
# Look where your install program is
@@ -32,12 +30,12 @@
obj = db_dump.o dbview.o version.o
.c.o:
- $(CC) ${CFLAGS} -c $*.c
+ $(CC) ${CFLAGS} $(CPPFLAGS) -c $*.c
all: dbview
dbview: $(obj)
- $(CC) $(CFLAGS) -o dbview $(obj)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o dbview $(obj)
depend:
makedepend *.c