summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-02-19 04:16:17 -0500
committerBradley Sepos <[email protected]>2020-02-19 04:16:17 -0500
commitb1108543ef03f1a20e755c958053b4eb5cefd48f (patch)
tree516badb2094db050aa6bcd4e2a70d29bb9f97085 /make
parent970f2955fd40fc66d55f4dcab769ed9afbf3cb49 (diff)
make: Use LOCALBASE instead of hardcoding /usr/pkg for NetBSD.
Diffstat (limited to 'make')
-rw-r--r--make/variant/netbsd.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/variant/netbsd.defs b/make/variant/netbsd.defs
index 37c623f70..6f7a8bfbe 100644
--- a/make/variant/netbsd.defs
+++ b/make/variant/netbsd.defs
@@ -16,4 +16,4 @@ GCC.args.g.max = -g3
GCC.MAJOR_VERSION = $(shell $(GCC.gcc) -dumpversion | cut -f 1 -d .)
GCC.LDFLAGS =
LDFLAGS += $(if $(findstring gcc, $(GCC.gcc)), $(GCC.LDFLAGS), )
-LDFLAGS += -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
+LDFLAGS += -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib