libxslt: fix manpage
Close: #33119 sgn: fix cross build manpage Co-authored-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
This commit is contained in:
parent
4b239f5560
commit
3a9aeacde0
2 changed files with 29 additions and 2 deletions
13
srcpkgs/libxslt/patches/fix-manpage.patch
Normal file
13
srcpkgs/libxslt/patches/fix-manpage.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- a/doc/xsltproc.xml 2019-10-30 21:02:14.000000000 +0100
|
||||
+++ b/doc/xsltproc.xml 2021-09-24 21:00:52.628526237 +0200
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet type="text/xsl"
|
||||
- href="http://cdn.docbook.org/release/xsl/current//manpages/docbook.xsl"?>
|
||||
+ href="/usr/share/xsl/docbook/manpages/docbook.xsl"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||
+ "/usr/share/xml/docbook/4.2/docbookx.dtd" [
|
||||
|
||||
<!ENTITY xsltproc "<command>xsltproc</command>">
|
||||
]>
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'libxslt'
|
||||
pkgname=libxslt
|
||||
version=1.1.34
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-dependency-tracking"
|
||||
hostmakedepends="libtool python-devel libxml2-python pkg-config"
|
||||
hostmakedepends="docbook-xml docbook-xsl libtool python-devel
|
||||
libxml2-python pkg-config"
|
||||
makedepends="python-devel libxml2-devel libxml2-python libgcrypt-devel"
|
||||
short_desc="XSLT parser library from the GNOME project"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -15,6 +16,10 @@ distfiles="http://xmlsoft.org/sources/libxslt-${version}.tar.gz
|
|||
checksum="98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f
|
||||
98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" libxslt"
|
||||
fi
|
||||
|
||||
post_configure() {
|
||||
# Remove missing seperators and errors
|
||||
# on don't know how to make target, needed
|
||||
|
@ -28,6 +33,15 @@ post_configure() {
|
|||
fi
|
||||
}
|
||||
|
||||
post_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
XSLTPROC=/usr/bin/xsltproc
|
||||
else
|
||||
XSLTPROC=${wrksrc}/xsltproc/xsltproc
|
||||
fi
|
||||
make -C doc XSLTPROC=$XSLTPROC
|
||||
}
|
||||
|
||||
post_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Remove $XBPS_CROSS_BASE in pkg-config
|
||||
|
|
Loading…
Reference in a new issue