summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-06-21 18:29:30 +0200
committerDavid Seifert <soap@gentoo.org>2022-06-21 18:29:30 +0200
commitb629b4c82f0e52140c2b86767399bc47fbf23df8 (patch)
tree49e9f7ee3f95b455bcf1829575ae04d685a59204 /app-text/psutils/files
parentapp-text/libepubgen: update EAPI 6 -> 8 (diff)
downloadgentoo-b629b4c82f0e52140c2b86767399bc47fbf23df8.tar.gz
gentoo-b629b4c82f0e52140c2b86767399bc47fbf23df8.tar.bz2
gentoo-b629b4c82f0e52140c2b86767399bc47fbf23df8.zip
app-text/psutils: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/psutils/files')
-rw-r--r--app-text/psutils/files/psutils-1.17-makefile.patch (renamed from app-text/psutils/files/psutils-1.17-ldflags.patch)34
1 files changed, 25 insertions, 9 deletions
diff --git a/app-text/psutils/files/psutils-1.17-ldflags.patch b/app-text/psutils/files/psutils-1.17-makefile.patch
index 124768062a43..241ea284c66e 100644
--- a/app-text/psutils/files/psutils-1.17-ldflags.patch
+++ b/app-text/psutils/files/psutils-1.17-makefile.patch
@@ -1,17 +1,33 @@
-Index: psutils/Makefile.unix
-===================================================================
---- psutils.orig/Makefile.unix
-+++ psutils/Makefile.unix
-@@ -39,7 +39,7 @@ MANEXT = 1
- MANDIR = /usr/local/share/man/man$(MANEXT)
-
- CC = gcc
+--- a/Makefile.unix
++++ b/Makefile.unix
+@@ -25,10 +25,10 @@
+
+ OS = UNIX
+
+-BINDIR = /usr/local/bin
++BINDIR = $(DESTDIR)$(EPREFIX)/usr/bin
+ SCRIPTDIR = $(BINDIR)
+-INCLUDEDIR = /usr/local/share/psutils
+-PERL = /usr/local/bin/perl
++INCLUDEDIR = $(DESTDIR)$(EPREFIX)/usr/share/psutils
++PERL = perl
+
+ BINMODE = 0755
+ MANMODE = 0644
+@@ -36,10 +36,9 @@
+ INSTALL = install -c -m $(BINMODE)
+ INSTALLMAN = install -c -m $(MANMODE)
+ MANEXT = 1
+-MANDIR = /usr/local/share/man/man$(MANEXT)
++MANDIR = $(DESTDIR)$(EPREFIX)/usr/share/man/man$(MANEXT)
+
+-CC = gcc
-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
+CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -Wall
BIN = psbook psselect pstops epsffit psnup \
psresize
-@@ -65,30 +65,24 @@ pserror.o: psutil.h patchlev.h pserror.h
+@@ -65,30 +64,24 @@
epsffit.o: epsffit.c pserror.h patchlev.h
epsffit: epsffit.o pserror.o