summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro.dev@gmail.com>2016-10-09 18:15:50 +0900
committerYuta SATOH <nigoro.dev@gmail.com>2016-10-09 18:15:50 +0900
commit5fdebd5d0c9b22a9e046fba384ddbd4c06587830 (patch)
treeb82cf17abf99890fdfbb984f4e3d2ec7a396c87c
parentsys-freebsd/freebsd-libexec: change MK_ to WITHOUT_ (diff)
downloadgentoo-bsd-5fdebd5d0c9b22a9e046fba384ddbd4c06587830.tar.gz
gentoo-bsd-5fdebd5d0c9b22a9e046fba384ddbd4c06587830.tar.bz2
gentoo-bsd-5fdebd5d0c9b22a9e046fba384ddbd4c06587830.zip
freebsd.eclass: freebsd 11.0 does not support NO_ variable.
-rw-r--r--eclass/freebsd.eclass22
1 files changed, 14 insertions, 8 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index 8bab9af..5d4562a 100644
--- a/eclass/freebsd.eclass
+++ b/eclass/freebsd.eclass
@@ -228,18 +228,21 @@ freebsd_src_compile() {
use profile && filter-flags "-fomit-frame-pointer"
if version_is_at_least 11.0 ${RV} ; then
if ! use profile ; then
- mymakeopts="${mymakeopts} MK_PROFILE=no "
+ mymakeopts="${mymakeopts} WITHOUT_PROFILE= "
fi
- use debug || mymakeopts="${mymakeopts} MK_DEBUG_FILES=no "
+ use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
# Test does not support yet.
- mymakeopts="${mymakeopts} MK_TESTS=no "
+ mymakeopts="${mymakeopts} WITHOUT_TESTS= "
# Force set SRCTOP.
mymakeopts="${mymakeopts} SRCTOP=${WORKDIR} "
+ # Set common option.
+ mymakeopts="${mymakeopts} WITHOUT_MANCOMPRESS= WITHOUT_INFOCOMPRESS= "
else
use profile || mymakeopts="${mymakeopts} NO_PROFILE= "
+ mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
fi
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= NO_FSCHG="
+ mymakeopts="${mymakeopts} NO_FSCHG="
# Make sure to use FreeBSD definitions while crosscompiling
[[ -z "${BMAKE}" ]] && BMAKE="$(freebsd_get_bmake)"
@@ -300,18 +303,21 @@ freebsd_multilib_multibuild_wrapper() {
freebsd_src_install() {
if version_is_at_least 11.0 ${RV} ; then
if ! use profile ; then
- mymakeopts="${mymakeopts} MK_PROFILE=no "
+ mymakeopts="${mymakeopts} WITHOUT_PROFILE= "
fi
- use debug || mymakeopts="${mymakeopts} MK_DEBUG_FILES=no "
+ use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
# Test does not support yet.
- mymakeopts="${mymakeopts} MK_TESTS=no "
+ mymakeopts="${mymakeopts} WITHOUT_TESTS= "
# Force set SRCTOP.
mymakeopts="${mymakeopts} SRCTOP=${WORKDIR} "
+ # Set common option.
+ mymakeopts="${mymakeopts} WITHOUT_MANCOMPRESS= WITHOUT_INFOCOMPRESS= "
else
use profile || mymakeopts="${mymakeopts} NO_PROFILE= "
+ mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= "
fi
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= NO_FSCHG="
+ mymakeopts="${mymakeopts} NO_FSCHG="
[[ -z "${BMAKE}" ]] && BMAKE="$(freebsd_get_bmake)"