summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-29 15:41:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-29 15:41:52 +0200
commit5c9e89a9fb7c76653b3d1173ee57511ec05f3e69 (patch)
tree6a67fa13c8c0689f9dd1b70bb39a5a23101f84ea
parentfd6481d82ff407139157e53df28563d40bb3ad3b (diff)
NetBSD portability fixes
-rw-r--r--Makefile2
-rw-r--r--tools/cpio/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c641ff78d..ae9e28a7c 100644
--- a/Makefile
+++ b/Makefile
@@ -219,7 +219,7 @@ NO_ERROR=0
@echo 'MAKE:=$${GMAKE}' >>prereq.mk
@echo "OStype:=$$(env uname)" >>prereq.mk
@echo "_PATH:=$$PATH" >>prereq.mk
- @echo "PATH:=\$${TOPDIR}/scripts:$$PATH" >>prereq.mk
+ @echo "PATH:=\$${TOPDIR}/scripts:/usr/sbin:$$PATH" >>prereq.mk
@echo "SHELL:=$$(which bash)" >>prereq.mk
@env NO_ERROR=${NO_ERROR} BASH="$$(which bash)" \
CC='${CC}' CPPFLAGS='${CPPFLAGS}' \
diff --git a/tools/cpio/Makefile b/tools/cpio/Makefile
index e9533a498..4e3548954 100644
--- a/tools/cpio/Makefile
+++ b/tools/cpio/Makefile
@@ -11,7 +11,8 @@ SRCS+= \
src/ib_free.c \
src/ib_getlin.c \
src/sfile.c \
- src/gmatch.c
+ src/gmatch.c \
+ src/memalign.c
SRCS+= \
src/version.c \