opnsense-ports/devel/bin86/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

21 lines
409 B
Text

--- Makefile.orig 2005-02-01 05:45:39.000000000 +0900
+++ Makefile 2012-05-30 05:45:03.000000000 +0900
@@ -1,16 +1,12 @@
-CFLAGS=-O2 -D_POSIX_SOURCE
+CFLAGS+=-D_POSIX_SOURCE
LDFLAGS=
DIRS=ld as
-PREFIX=/usr/local
+PREFIX?=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
-ifeq ($(PREFIX),/usr)
-MANDIR=$(PREFIX)/share/man/man1
-else
MANDIR=$(PREFIX)/man/man1
-endif
SUF=86
INSTALL_OPT=-m 755