summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-01 10:13:18 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-01 10:13:18 +0100
commit618b3e86e2b4078605f99fce1eefb08ac67ea5c9 (patch)
tree06992e774f104a2880c4c3e10b84ef94d7eeae67 /dev-lang/smlnj
parentdev-tex/rubber: add 9999 (diff)
downloadgentoo-618b3e86e2b4078605f99fce1eefb08ac67ea5c9.tar.gz
gentoo-618b3e86e2b4078605f99fce1eefb08ac67ea5c9.tar.bz2
gentoo-618b3e86e2b4078605f99fce1eefb08ac67ea5c9.zip
*/*: s/pax_kernel/pax-kernel/g
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r--dev-lang/smlnj/metadata.xml2
-rw-r--r--dev-lang/smlnj/smlnj-110.82.ebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-lang/smlnj/metadata.xml b/dev-lang/smlnj/metadata.xml
index e7ce88d55f5e..26bf66298295 100644
--- a/dev-lang/smlnj/metadata.xml
+++ b/dev-lang/smlnj/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
- <flag name="pax_kernel">Enable if the user plans to run the
+ <flag name="pax-kernel">Enable if the user plans to run the
package under a pax enabled hardened kernel</flag>
</use>
</pkgmetadata>
diff --git a/dev-lang/smlnj/smlnj-110.82.ebuild b/dev-lang/smlnj/smlnj-110.82.ebuild
index 3565c9baaa6d..68c776772b8d 100644
--- a/dev-lang/smlnj/smlnj-110.82.ebuild
+++ b/dev-lang/smlnj/smlnj-110.82.ebuild
@@ -57,8 +57,8 @@ SLOT="0"
#sparc support should be there but is untested
KEYWORDS="-* ~amd64 ~ppc ~x86"
-IUSE="pax_kernel"
-DEPEND="pax_kernel? ( sys-apps/elfix )"
+IUSE="pax-kernel"
+DEPEND="pax-kernel? ( sys-apps/elfix )"
RDEPEND=""
S=${WORKDIR}
@@ -87,7 +87,7 @@ src_prepare() {
-e "/^CC/s:gcc:$(tc-getCC):" \
-e "/^CPP/s:gcc:$(tc-getCC):" \
-e "/^CFLAGS/{s:-O[0123s]:: ; s:=:= ${CFLAGS}:}" \
- -e "/^PAXMARK/s:true:"$(usex pax_kernel "paxmark.sh" "true")":" \
+ -e "/^PAXMARK/s:true:"$(usex pax-kernel "paxmark.sh" "true")":" \
-i base/runtime/objs/${file}
done
}