--- smage/trunk/extras/drbd-utils/drbd-utils-9.8.0-r1.smage2 2019/03/12 11:49:57 12958 +++ smage/trunk/extras/drbd-utils/drbd-utils-9.8.0-r1.smage2 2019/03/12 11:50:49 12959 @@ -9,13 +9,16 @@ DESCRIPTION="Userland tools for Distributed Replicated Block Device." HOMEPAGE="https://www.drbd.org/" -DEPEND=">= virtual/glibc - >= sys-libs/libuuid-2.30" +DEPEND=">= app-shells/bash-4 + >= dev-lang/perl-5" + +SDEPEND=">= dev-libs/libxslt-1.1 + >= dev-libs/libxslt-dev-1.1" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" -sminclude mbuild +sminclude mbuild systemd SRC_URI=( mirror://${PNAME}/${SRCFILE} @@ -23,3 +26,23 @@ ) UP2DATE="updatecmd https://www.linbit.com/downloads/drbd/utils/ | highesttarball gz" + +src_compile() +{ + cd ${SRCDIR} + + mconfigure \ + --with-distro=generic \ + --without-bashcompletion \ + --with-initscripttype=systemd \ + --with-udev \ + --without-rgmanager \ + --without-pacemaker \ + --without-heartbeat \ + --without-83support \ + --without-xen \ + || die + + mmake || die +} +