summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-06-23 22:53:29 +0200
committerDavid Seifert <soap@gentoo.org>2022-06-23 22:53:29 +0200
commitb833f1a0939de985479d6548b9133403b35f4ac2 (patch)
tree4d62b1ec2c22141f43acad77f16d2a22b5912f3f /app-text/psutils
parentsys-fs/mergerfs: 2.33.5 version bump (diff)
downloadgentoo-b833f1a0939de985479d6548b9133403b35f4ac2.tar.gz
gentoo-b833f1a0939de985479d6548b9133403b35f4ac2.tar.bz2
gentoo-b833f1a0939de985479d6548b9133403b35f4ac2.zip
app-text/psutils: fix perl shebangs
Closes: https://bugs.gentoo.org/853922 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/psutils')
-rw-r--r--app-text/psutils/files/psutils-1.17-makefile.patch152
-rw-r--r--app-text/psutils/psutils-1.17-r5.ebuild (renamed from app-text/psutils/psutils-1.17-r4.ebuild)0
2 files changed, 151 insertions, 1 deletions
diff --git a/app-text/psutils/files/psutils-1.17-makefile.patch b/app-text/psutils/files/psutils-1.17-makefile.patch
index 241ea284c66e..8e8f03208f78 100644
--- a/app-text/psutils/files/psutils-1.17-makefile.patch
+++ b/app-text/psutils/files/psutils-1.17-makefile.patch
@@ -10,7 +10,7 @@
-INCLUDEDIR = /usr/local/share/psutils
-PERL = /usr/local/bin/perl
+INCLUDEDIR = $(DESTDIR)$(EPREFIX)/usr/share/psutils
-+PERL = perl
++PERL = "/usr/bin/env perl"
BINMODE = 0755
MANMODE = 0644
@@ -58,3 +58,153 @@
pstops.o: psutil.h patchlev.h psspec.h pserror.h pstops.c
+@@ -99,116 +92,116 @@
+ cp $? $@
+
+ psmerge: psmerge.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixfmps: fixfmps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixmacps: fixmacps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) INCLUDE=$(INCLUDEDIR) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) INCLUDE=$(INCLUDEDIR) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixpsditps: fixpsditps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixpspps: fixpspps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixscribeps: fixscribeps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixtpps: fixtpps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixwfwps: fixwfwps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixwpps: fixwpps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixwwps: fixwwps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ fixdlsrps: fixdlsrps.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ extractres: extractres.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ includeres: includeres.pl
+- $(PERL) maketext OS=$(OS) PERL=$(PERL) INCLUDE=$(INCLUDEDIR) $? > $@
++ perl maketext OS=$(OS) PERL=$(PERL) INCLUDE=$(INCLUDEDIR) $? > $@
+ $(CHMOD) $(BINMODE) $@
+
+ epsffit.$(MANEXT): epsffit.man
+- $(PERL) maketext MAN="$(MANPAGES)" $? > $@
++ perl maketext MAN="$(MANPAGES)" $? > $@
+
+ psnup.$(MANEXT): psnup.man
+- $(PERL) maketext MAN="$(MANPAGES)" PAPER=$(PAPER) $? > $@
++ perl maketext MAN="$(MANPAGES)" PAPER=$(PAPER) $? > $@
+
+ psresize.$(MANEXT): psresize.man
+- $(PERL) maketext MAN="$(MANPAGES)" PAPER=$(PAPER) $? > $@
++ perl maketext MAN="$(MANPAGES)" PAPER=$(PAPER) $? > $@
+
+ psbook.$(MANEXT): psbook.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ psselect.$(MANEXT): psselect.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ pstops.$(MANEXT): pstops.man
+- $(PERL) maketext "MAN=$(MANPAGES)" PAPER=$(PAPER) $? > $@
++ perl maketext "MAN=$(MANPAGES)" PAPER=$(PAPER) $? > $@
+
+ psmerge.$(MANEXT): psmerge.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixfmps.$(MANEXT): fixfmps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixmacps.$(MANEXT): fixmacps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" INCLUDE=$(INCLUDEDIR) $? > $@
++ perl maketext "MAN=$(MANPAGES)" INCLUDE=$(INCLUDEDIR) $? > $@
+
+ fixpsditps.$(MANEXT): fixpsditps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixpspps.$(MANEXT): fixpspps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixscribeps.$(MANEXT): fixscribeps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixtpps.$(MANEXT): fixtpps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixwfwps.$(MANEXT): fixwfwps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixwpps.$(MANEXT): fixwpps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixwwps.$(MANEXT): fixwwps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ fixdlsrps.$(MANEXT): fixdlsrps.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ extractres.$(MANEXT): extractres.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ includeres.$(MANEXT): includeres.man
+- $(PERL) maketext "MAN=$(MANPAGES)" INCLUDE=$(INCLUDEDIR) $? > $@
++ perl maketext "MAN=$(MANPAGES)" INCLUDE=$(INCLUDEDIR) $? > $@
+
+ getafm.$(MANEXT): getafm.man
+- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
++ perl maketext "MAN=$(MANPAGES)" $? > $@
+
+ clean:
+ rm -f *.o
diff --git a/app-text/psutils/psutils-1.17-r4.ebuild b/app-text/psutils/psutils-1.17-r5.ebuild
index dd64aadab49c..dd64aadab49c 100644
--- a/app-text/psutils/psutils-1.17-r4.ebuild
+++ b/app-text/psutils/psutils-1.17-r5.ebuild