summaryrefslogtreecommitdiffstats
path: root/make/variant/freebsd.defs
diff options
context:
space:
mode:
Diffstat (limited to 'make/variant/freebsd.defs')
-rw-r--r--make/variant/freebsd.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/variant/freebsd.defs b/make/variant/freebsd.defs
index f575c8bed..d8a7245f8 100644
--- a/make/variant/freebsd.defs
+++ b/make/variant/freebsd.defs
@@ -1,5 +1,10 @@
+# LOCALBASE is where FreeBSD ports are installed. default is '/usr/local'.
+LOCALBASE ?= /usr/local
+
TARGET.dylib.ext = .so
+GCC.I = $(LOCALBASE)/include
+GCC.L = $(LOCALBASE)/lib
GCC.D = LIBICONV_PLUG
GCC.args.dylib = -shared