diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/os-prefix.mk | 2 | ||||
-rw-r--r-- | mk/os.mk | 2 | ||||
-rw-r--r-- | mk/sys.mk | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/mk/os-prefix.mk b/mk/os-prefix.mk index c546a862..af08c99e 100644 --- a/mk/os-prefix.mk +++ b/mk/os-prefix.mk @@ -3,4 +3,6 @@ ifeq (${MKPREFIX},yes) CPPFLAGS+= -DPREFIX +PKG_PREFIX?= $(PREFIX)/usr +SED_EXTRA= -e '/_PATH=.*usr.bin/d' endif @@ -13,7 +13,7 @@ _OS_SH= uname -s | tr '/' '-' _OS:= $(shell ${_OS_SH}) OS?= ${_OS} -include ${MK}/os-${OS}.mk include ${MK}/os-prefix.mk +include ${MK}/os-${OS}.mk RC_LIB= /$(LIBNAME)/rc @@ -26,7 +26,7 @@ ifeq (${MKPREFIX},yes) UPREFIX= ${PREFIX}/usr endif endif -LOCAL_PREFIX= /usr/local +LOCAL_PREFIX= $(UPREFIX)/local PICFLAG?= -fPIC |