ports/devel/bin86/files/patch-Makefile
Sylvio Cesar Teixeira 69a0ca8eef - Update to version 0.16.18
PR:		ports/168598
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-06-05 20:49:55 +00: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