mdocml: conflict with man-db, fix whatis(1).
This commit is contained in:
parent
14b9fa5211
commit
269064ce99
1 changed files with 3 additions and 1 deletions
|
@ -1,12 +1,13 @@
|
|||
# Template file for 'mdocml'
|
||||
pkgname=mdocml
|
||||
version=1.13.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_pie=yes
|
||||
build_style=configure
|
||||
makedepends="sqlite-devel"
|
||||
provides="man-0_1"
|
||||
replaces="man>=0"
|
||||
conflicts="man-db>=0"
|
||||
conf_files="/etc/man.conf"
|
||||
short_desc="The mandoc UNIX manpage compiler toolset"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -19,6 +20,7 @@ pre_configure() {
|
|||
sed -i 's,PREFIX=.*,PREFIX=/usr,g' configure
|
||||
sed -i 's,${PREFIX}/man,${PREFIX}/share/man,g' configure
|
||||
sed -i "s,/usr/local,${XBPS_CROSS_BASE}/usr,g" configure
|
||||
sed -i 's/\[\[:<:\]\]%s\[\[:>:\]\]/\\\\<%s\\\\>/' mansearch.c
|
||||
}
|
||||
pre_build() {
|
||||
sed -i "s,CFLAGS.* ,& ${CFLAGS} ,g" Makefile.local
|
||||
|
|
Loading…
Reference in a new issue