summaryrefslogtreecommitdiffstats
path: root/devel/bin86/files/patch-Makefile
blob: 65531217840b5d60551a896ec224806db5edc8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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
OpenPOWER on IntegriCloud