freebsd-ports/misc/since/files/patch-Makefile

21 lines
574 B
Text
Raw Normal View History

2013-10-25 17:52:40 +02:00
--- ./Makefile.orig 2010-07-10 08:57:32.000000000 -0400
+++ ./Makefile 2013-10-25 11:33:34.000000000 -0400
@@ -1,16 +1,14 @@
# IMHO auto{make,conf} is overkill. Simple, readable makefiles improve security
-prefix=/usr/local
2009-06-17 20:20:23 +02:00
NAME = since
2010-07-16 18:57:22 +02:00
VERSION = 1.1
-CFLAGS = -Wall -O2 -DVERSION=\"$(VERSION)\"
+CFLAGS += -Wall -DVERSION=\"$(VERSION)\"
# disable/enable as desired
CFLAGS += $(shell test -f /usr/include/sys/inotify.h && echo -DUSE_INOTIFY)
2009-06-17 20:20:23 +02:00
CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#CFLAGS += -DDEBUG
2009-06-17 20:20:23 +02:00
-CC = gcc
RM = rm -f
2013-10-25 17:52:40 +02:00
INSTALL = install -D