Fix suggestions and bugs spotted by zlin

https://galileo.mailstation.de/gerrit/#/c/5864/
This commit is contained in:
2016-05-13 22:41:29 +02:00
parent 8b1c24e748
commit 22a67e22f1
32 changed files with 54 additions and 75 deletions

View File

@@ -22,7 +22,6 @@ DEFAULT_SRC_INSTALL_PARAMS=(
)
src_prepare() {
export CC=$(exhost --tool-prefix)cc
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
}

View File

@@ -45,7 +45,7 @@ DEPENDENCIES="
"
DEFAULT_SRC_COMPILE_PARAMS=(
LIBNAME=${LIBDIR}
LIBNAME=lib
LIBEXECDIR=/usr/$(exhost --target)/libexec/rc
OS=Linux
)
@@ -85,12 +85,12 @@ src_compile() {
MAKE_ARGS="
${DEFAULT_SRC_COMPILE_PARAMS[@]}
MKNET=$(option newnet)
MKNET=$(option newnet yes no)
MKSELINUX=no
MKAUDIT=no
MKPAM=$(optionv pam)
MKSTATICLIBS=no
MKTOOLS=$(option tools)
MKTOOLS=$(option tools yes no)
"
emake ${MAKE_ARGS}