mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
e110a3719d
- Obey PREFIX [2] Submitted by: maintainer [1] [2] Reported by: QATty [2]
20 lines
545 B
Plaintext
20 lines
545 B
Plaintext
--- make/Makefile.freebsd.orig 2009-06-08 21:07:00.000000000 -0300
|
|
+++ make/Makefile.freebsd 2009-06-08 21:08:01.000000000 -0300
|
|
@@ -8,6 +8,7 @@
|
|
# defined. In FreeBSD this happens when fasta3 is build from the port or
|
|
# when the user has set these variables -- most notably CC and/or CFLAGS
|
|
# -- in /etc/make.conf
|
|
+LOCALBASE?= /usr/local
|
|
|
|
# Compiler executable, and optional flags
|
|
CC?= gcc
|
|
@@ -38,7 +39,7 @@
|
|
CFLAGS+= ${COMMON_CFLAGS} ${STANDARD_CFLAGS}
|
|
|
|
BIN = ../bin
|
|
-XDIR = /usr/local/bin
|
|
+XDIR = ${LOCALBASE}/bin
|
|
|
|
LIB_M+= -lm
|
|
|