parent
d49436aba0
commit
891d12d510
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mdocml'
|
# Template file for 'mdocml'
|
||||||
pkgname=mdocml
|
pkgname=mdocml
|
||||||
version=1.14.5
|
version=1.14.5
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="mandoc-${version}"
|
wrksrc="mandoc-${version}"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
makedepends="less zlib-devel"
|
makedepends="less zlib-devel"
|
||||||
|
@ -28,6 +28,8 @@ post_extract() {
|
||||||
# use less(1)
|
# use less(1)
|
||||||
sed -i 's,"more -s","less -s",g' main.c
|
sed -i 's,"more -s","less -s",g' main.c
|
||||||
sed -i 's,.Xr more,.Xr less,g' *.1
|
sed -i 's,.Xr more,.Xr less,g' *.1
|
||||||
|
|
||||||
|
sed -i 's/^CC=.*/CC=cc/' configure
|
||||||
}
|
}
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
cat >configure.local <<EOF
|
cat >configure.local <<EOF
|
||||||
|
|
Loading…
Reference in New Issue