aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 17:11:50 +0000
committerRoy Marples <roy@marples.name>2008-03-19 17:11:50 +0000
commitd9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb (patch)
tree1ee06a122011bd5347ed1dac292e1408178cceb0 /mk
parent089caec283e1e1b39767abf9cb355f47ee6daca6 (diff)
Add rc-service and update all softlevel refs to runlevel.
Diffstat (limited to 'mk')
-rw-r--r--mk/os.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/os.mk b/mk/os.mk
index 7b395cd8..7993820b 100644
--- a/mk/os.mk
+++ b/mk/os.mk
@@ -13,7 +13,7 @@ _PREFIX_SH= if test -n "${PREFIX}" && test "${PREFIX}" != "/"; then echo "-DPREF
_PREFIX!= ${_PREFIX_SH}
CFLAGS+= ${_PREFIX}$(shell ${_PREFIX_SH})
-_PKG_PREFIX_SH= if test -n "${PKG_PREFIX}" && test "${PKG_PREFIX}" != "/"; then echo "-DPKG_PREFIX=\\\"${PKG_PREFIX}\\\""; else echo ""; fi
+_PKG_PREFIX_SH= if test -n "${PKG_PREFIX}" && test "${PKG_PREFIX}" != "/" && test "${PKG_PREFIX}" != "${PREFIX}"; then echo "-DPKG_PREFIX=\\\"${PKG_PREFIX}\\\""; else echo ""; fi
_PKG_PREFIX!= ${_PKG_PREFIX_SH}
CFLAGS+= ${_PKG_PREFIX}$(shell ${_PKG_PREFIX_SH})