mdocml: update to 1.14.4.

This commit is contained in:
Leah Neukirchen 2018-08-09 08:52:11 +02:00
parent 609761db71
commit 9a36696948
2 changed files with 16 additions and 14 deletions

View file

@ -1,25 +1,27 @@
--- configure.orig --- configure.orig
+++ configure +++ configure
@@ -155,13 +155,6 @@ @@ -162,14 +162,6 @@
if ${COMP} -o "test-${1}" "${SOURCEDIR}/test-${1}.c" ${3} 1>&3 2>&3
if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then then
echo "${1}${3}: ${CC} succeeded" 1>&3 echo "partial result of ${1}${3}: ${CC} succeeded" 1>&3
- else - else
- echo "${1}${3}: ${CC} failed with $?" 1>&3 - echo "result of ${1}${3}: ${CC} failed with exit status $?" 1>&3
- echo "result of compiling ${1}${3}: no" 1>&3
- echo 1>&3 - echo 1>&3
- return 1 - return 1
- fi - fi
- -
- if ./test-${1} 1>&3 2>&3; then - if ./test-${1} 1>&3 2>&3; then
echo "${1}${3}: yes" 1>&2 echo "tested ${1}${3}: yes" 1>&2
echo "${1}${3}: yes" 1>&3 echo "result of running ${1}${3}: yes" 1>&3
echo 1>&3 echo 1>&3
@@ -169,9 +162,8 @@ @@ -177,10 +169,9 @@
rm "test-${1}" rm "test-${1}"
return 0 return 0
else else
- echo "${1}${3}: execution failed with $?" 1>&3 - echo "result of ${1}${3}: execution failed with exit status $?" 1>&3
+ echo "${1}${3}: ${CC} failed with $?" 1>&3 + echo "result of ${1}${3}: ${CC} failed with exit status $?" 1>&3
echo "result of running ${1}${3}: no" 1>&3
echo 1>&3 echo 1>&3
- rm "test-${1}" - rm "test-${1}"
return 1 return 1

View file

@ -1,7 +1,7 @@
# Template file for 'mdocml' # Template file for 'mdocml'
pkgname=mdocml pkgname=mdocml
version=1.14.3 version=1.14.4
revision=2 revision=1
wrksrc="mandoc-${version}" wrksrc="mandoc-${version}"
build_style=configure build_style=configure
makedepends="zlib-devel" makedepends="zlib-devel"
@ -14,7 +14,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC" license="ISC"
homepage="http://mandoc.bsd.lv" homepage="http://mandoc.bsd.lv"
distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz" distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz"
checksum=0b0c8f67958c1569ead4b690680c337984b879dfd2ad4648d96924332fd99528 checksum=24eb72103768987dcc63b53d27fdc085796330782f44b3b40c4660b1e1ee9b9c
alternatives=" alternatives="
man:man:/usr/bin/mandoc man:man:/usr/bin/mandoc
@ -48,7 +48,7 @@ EOF
} }
do_check() { do_check() {
cd regress && ./regress.pl make regress
} }
post_install() { post_install() {
# Rename mans for alternatives # Rename mans for alternatives