summaryrefslogtreecommitdiff
path: root/textproc/bibclean/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/bibclean/files/patch-Makefile.in')
-rw-r--r--textproc/bibclean/files/patch-Makefile.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/bibclean/files/patch-Makefile.in b/textproc/bibclean/files/patch-Makefile.in
new file mode 100644
index 000000000000..08497c4df9b9
--- /dev/null
+++ b/textproc/bibclean/files/patch-Makefile.in
@@ -0,0 +1,29 @@
+--- Makefile.in.orig 2020-09-21 14:24:41 UTC
++++ Makefile.in
+@@ -94,10 +94,10 @@ BIBCLEANNAME = bibclean
+ prefix = @prefix@
+ exec_prefix = ${prefix}
+
+-bindir = ${exec_prefix}/bin
+-srcdir = @srcdir@
++bindir = ${DESTDIR}/${exec_prefix}/bin
++srcdir = ${DESTDIR}/@srcdir@
+
+-datarootdir = @datarootdir@
++datarootdir = ${DESTDIR}/@datarootdir@
+ datadir = @datadir@
+ bibcleandir = ${datadir}/${BIBCLEANNAME}
+ initdir = ${bibcleandir}/${VERSION}
+@@ -117,10 +117,10 @@ LIBS = @LIBS@
+
+ OPT =
+
+-VPATH = @srcdir@
++VPATH = ${DESTDIR}/@srcdir@
+
+ ### Where to install the manual pages.
+-mandir = ${prefix}/man/man1
++mandir = ${DESTDIR}${prefix}/share/man/man1
+ ### Extension (not including `.') for the installed manual page filenames.
+ manext = 1
+