commit:     03781b932231f0d873ea308bfadc6e16b68bf1bc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 16:26:12 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 22 16:26:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03781b93

sys-devel/pmake: remove ${USERLAND}

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...ake-1.111.3.3.ebuild => pmake-1.111.3.3-r1.ebuild} | 19 ++++---------------
 1 file 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
similarity index 79%
rename from sys-devel/pmake/pmake-1.111.3.3.ebuild
rename to 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
 }

Reply via email to