opnsense-ports/misc/since/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
574 B
Text

--- ./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
NAME = since
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)
CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
#CFLAGS += -DDEBUG
-CC = gcc
RM = rm -f
INSTALL = install -D