--- ntpsec-1.1.4.ebuild 2019-06-22 12:39:04.712938579 -0700 +++ ntpsec-1.1.4-r1.ebuild 2019-06-22 14:51:16.715206336 -0700 @@ -32,7 +32,7 @@ LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0" SLOT="0" -IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice +IUSE="${IUSE_NTPSEC_REFCLOCK} bsd debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice REQUIRED_USE="${PYTHON_REQUIRED_USE}" # net-misc/pps-tools oncore,pps @@ -40,6 +40,7 @@ ${BDEPEND} sys-libs/libcap dev-python/psutil[${PYTHON_USEDEP}] + bsd? ( dev-libs/libbsd:0= ) libressl? ( dev-libs/libressl:0= ) !libressl? ( dev-libs/openssl:0= ) seccomp? ( sys-libs/libseccomp ) @@ -68,6 +69,9 @@ default # Remove autostripping of binaries sed -i -e '/Strip binaries/d' wscript + if ! use bsd ; then + epatch "${FILESDIR}/no-bsd.patch" + fi python_copy_sources }