diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-22 20:45:41 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-22 20:45:41 +0100 |
commit | eef2fb960ceeb31cf966ff89f5d585da993efffb (patch) | |
tree | 0fd0b95159fb086d2c5cfe2539ca830ce1722b08 /community/moreutils/docbook-xsl.patch | |
parent | af6736a4b338e53e1dae2feba8d840b96f7140ad (diff) | |
download | aports-eef2fb960ceeb31cf966ff89f5d585da993efffb.tar.bz2 aports-eef2fb960ceeb31cf966ff89f5d585da993efffb.tar.xz |
community/moreutils: harden setting DOCBOOKXSL a bit
In the future we should remove the patch entirely.
Diffstat (limited to 'community/moreutils/docbook-xsl.patch')
-rw-r--r-- | community/moreutils/docbook-xsl.patch | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/moreutils/docbook-xsl.patch b/community/moreutils/docbook-xsl.patch index 3e8ee9d6d1..3bec38d22f 100644 --- a/community/moreutils/docbook-xsl.patch +++ b/community/moreutils/docbook-xsl.patch @@ -1,11 +1,17 @@ ---- a/Makefile 2017-02-19 20:44:09.469193976 +0100 -+++ b/Makefile 2017-02-19 20:44:32.302484346 +0100 -@@ -8,7 +8,7 @@ - ifneq (,$(findstring CYGWIN,$(shell uname))) - DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets - else -- DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl -+ DOCBOOKXSL?=/usr/share/xml/docbook/xsl-stylesheets-1.79.2 - endif +diff --git a/Makefile b/Makefile +index 1e92f61..2df0af9 100644 +--- a/Makefile ++++ b/Makefile +@@ -5,12 +5,6 @@ CFLAGS?=-O2 -g -Wall + INSTALL_BIN?=install -s + PREFIX?=/usr +-ifneq (,$(findstring CYGWIN,$(shell uname))) +- DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets +-else +- DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl +-endif +- DOCBOOK2XMAN=xsltproc --param man.authors.section.enabled 0 $(DOCBOOKXSL)/manpages/docbook.xsl + + all: $(BINS) $(MANS) |