Permalink
Browse files

mdocml: update to 1.14.4.

  • Loading branch information...
chneukirchen committed Aug 9, 2018
1 parent 609761d commit 9a366969487696e4d8743cd198fef084924814b4
Showing with 16 additions and 14 deletions.
  1. +12 −10 srcpkgs/mdocml/patches/cross.patch
  2. +4 −4 srcpkgs/mdocml/template
@@ -1,25 +1,27 @@
--- configure.orig
+++ configure
@@ -155,13 +155,6 @@
if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then
echo "${1}${3}: ${CC} succeeded" 1>&3
@@ -162,14 +162,6 @@
if ${COMP} -o "test-${1}" "${SOURCEDIR}/test-${1}.c" ${3} 1>&3 2>&3
then
echo "partial result of ${1}${3}: ${CC} succeeded" 1>&3
- 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
- return 1
- fi
-
- if ./test-${1} 1>&3 2>&3; then
echo "${1}${3}: yes" 1>&2
echo "${1}${3}: yes" 1>&3
echo "tested ${1}${3}: yes" 1>&2
echo "result of running ${1}${3}: yes" 1>&3
echo 1>&3
@@ -169,9 +162,8 @@
@@ -177,10 +169,9 @@
rm "test-${1}"
return 0
else
- echo "${1}${3}: execution failed with $?" 1>&3
+ echo "${1}${3}: ${CC} failed with $?" 1>&3
- echo "result of ${1}${3}: execution failed with exit status $?" 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
- rm "test-${1}"
return 1
View
@@ -1,7 +1,7 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.14.3
revision=2
version=1.14.4
revision=1
wrksrc="mandoc-${version}"
build_style=configure
makedepends="zlib-devel"
@@ -14,7 +14,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://mandoc.bsd.lv"
distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz"
checksum=0b0c8f67958c1569ead4b690680c337984b879dfd2ad4648d96924332fd99528
checksum=24eb72103768987dcc63b53d27fdc085796330782f44b3b40c4660b1e1ee9b9c
alternatives="
man:man:/usr/bin/mandoc
@@ -48,7 +48,7 @@ EOF
}
do_check() {
cd regress && ./regress.pl
make regress
}
post_install() {
# Rename mans for alternatives

0 comments on commit 9a36696

Please sign in to comment.