Permalink
Browse files

Add /usr/pkg/bin to a few paths in our building infrastructure.

This allows the clang static analyzer to find perl and python when run
in conjunction with one of our build* targets.
  • Loading branch information...
1 parent e45c809 commit 21e43067e4b04e5fbf13b49e6e61918d81b29bcc Sascha Wildner committed Jan 25, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile
  2. +1 −1 Makefile.inc1
  3. +1 −1 share/mk/sys.mk
View
@@ -95,7 +95,7 @@ BITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/}
.ORDER: quickkernel installkernel
.ORDER: quickkernel reinstallkernel
-PATH= /sbin:/bin:/usr/sbin:/usr/bin
+PATH= /sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin
MAKE= PATH=${PATH} make -m ${.CURDIR}/share/mk -f Makefile.inc1
#
View
@@ -206,7 +206,7 @@ BTOOLSPATH= ${BTOOLSDEST}/usr/sbin:${BTOOLSDEST}/usr/bin:${BTOOLSDEST}/bin:${BTO
# The strict temporary command path contains all binaries required
# by the buildworld system after the cross-tools stage.
#
-STRICTTMPPATH= ${CTOOLSDEST}/usr/sbin:${CTOOLSDEST}/usr/bin:${CTOOLSDEST}/bin:${CTOOLSDEST}/usr/games:${BTOOLSDEST}/usr/sbin:${BTOOLSDEST}/usr/bin:${BTOOLSDEST}/bin:${BTOOLSDEST}/usr/games
+STRICTTMPPATH= ${CTOOLSDEST}/usr/sbin:${CTOOLSDEST}/usr/bin:${CTOOLSDEST}/bin:${CTOOLSDEST}/usr/games:${BTOOLSDEST}/usr/sbin:${BTOOLSDEST}/usr/bin:${BTOOLSDEST}/bin:${BTOOLSDEST}/usr/games:/usr/pkg/bin
TMPDIR?= /tmp
TMPPID!= echo $$$$
View
@@ -47,7 +47,7 @@ CC_LINK ?= ${CC}
# The system cc frontend is not subject to the path, e.g. when buildworld
# is doing cross compiles it may still need the native compiler for things.
#
-NXENV ?= CCVER=${HOST_CCVER} BINUTILSVER=${HOST_BINUTILSVER} OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin
+NXENV ?= CCVER=${HOST_CCVER} BINUTILSVER=${HOST_BINUTILSVER} OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/pkg/bin
NXCC ?= ${NXENV} ${CC}
NXCC_LINK ?= ${NXENV} ${CC_LINK}
CFLAGS ?= -O -pipe

0 comments on commit 21e4306

Please sign in to comment.