sys-cluster/slurm: respect CFLAGS
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 20 Oct 2019 16:49:44 +0000 (19:49 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 20 Oct 2019 16:50:03 +0000 (19:50 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-cluster/slurm/slurm-18.08.7.ebuild

index b8797d5c13236d0d80632bdca041d49789adf665..78a580e9b307f7dcc9c478f64126bf083d6f46e6 100644 (file)
@@ -115,7 +115,6 @@ src_prepare() {
 }
 
 src_configure() {
-       use debug || myconf+=( --disable-debug )
        local myconf=(
                --sysconfdir="${EPREFIX}/etc/${PN}"
                --with-hwloc="${EPREFIX}/usr"
@@ -126,6 +125,7 @@ src_configure() {
        use mysql || myconf+=( --without-mysql_config )
        use amd64 && myconf+=( $(use_with netloc) )
        econf "${myconf[@]}" \
+               $(use_enable debug) \
                $(use_enable pam) \
                $(use_enable X x11) \
                $(use_with ssl) \