freebsd-ports/databases/dbview/files/patch-aa
Pietro Cerutti 96b2e7b3b8 - Update to 1.0.4
- Respect DOCSDIR
2008-06-04 20:34:41 +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