From b1108543ef03f1a20e755c958053b4eb5cefd48f Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 19 Feb 2020 04:16:17 -0500 Subject: make: Use LOCALBASE instead of hardcoding /usr/pkg for NetBSD. --- make/variant/netbsd.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3