diff options
author | David Seifert <soap@gentoo.org> | 2023-05-22 18:26:12 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-05-22 18:26:12 +0200 |
commit | 03781b932231f0d873ea308bfadc6e16b68bf1bc (patch) | |
tree | 1f3678ebdb2c9c099ea32f08949bf53e611676e8 /sys-devel/pmake | |
parent | sys-devel/make: remove ${USERLAND} (diff) | |
download | gentoo-03781b932231f0d873ea308bfadc6e16b68bf1bc.tar.gz gentoo-03781b932231f0d873ea308bfadc6e16b68bf1bc.tar.bz2 gentoo-03781b932231f0d873ea308bfadc6e16b68bf1bc.zip |
sys-devel/pmake: remove ${USERLAND}
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-devel/pmake')
-rw-r--r-- | sys-devel/pmake/pmake-1.111.3.3-r1.ebuild (renamed from sys-devel/pmake/pmake-1.111.3.3.ebuild) | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/sys-devel/pmake/pmake-1.111.3.3.ebuild b/sys-devel/pmake/pmake-1.111.3.3-r1.ebuild index 53db11c875df..ff51a3b25bbc 100644 --- a/sys-devel/pmake/pmake-1.111.3.3.ebuild +++ b/sys-devel/pmake/pmake-1.111.3.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,10 +44,7 @@ src_compile() { -DMACHINE=\\\"gentoo\\\" -DMACHINE_ARCH=\\\"$(tc-arch-kernel)\\\" \ -D_PATH_DEFSHELLDIR=\\\"${EPREFIX}/bin\\\" \ -D_PATH_DEFSYSPATH=\\\"${EPREFIX}/usr/share/mk\\\" \ - -DHAVE_VSNPRINTF" - if [[ "${USERLAND}" == "GNU" ]]; then - CFLAGS="${CFLAGS} -D_PATH_DEFSYSPATH=\\\"${EPREFIX}/usr/share/mk/${PN}\\\"" - fi + -DHAVE_VSNPRINTF -D_PATH_DEFSYSPATH=\\\"${EPREFIX}/usr/share/mk/${PN}\\\"" emake -f Makefile.boot \ CC="$(tc-getCC)" \ @@ -55,11 +52,8 @@ src_compile() { } src_install() { - # Don't install these on BSD, else they conflict - if [[ ${USERLAND} == GNU ]]; then - insinto /usr/share/mk/${PN} - doins -r mk/. - fi + insinto /usr/share/mk/${PN} + doins -r mk/. newbin bmake pmake dobin mkdep @@ -68,9 +62,4 @@ src_install() { newman make.1 pmake.1 dodoc PSD.doc/tutorial.ms - - if [[ ${USERLAND} == BSD ]]; then - dosym pmake /usr/bin/make - dosym pmake.1.gz /usr/share/man/man1/make.1.gz - fi } |