dmtx-utils: fix for libtool>=2.4.6
This commit is contained in:
parent
2d3e588d3c
commit
4fd71940c2
srcpkgs/dmtx-utils
13
srcpkgs/dmtx-utils/patches/fix-getopt_check.patch
Normal file
13
srcpkgs/dmtx-utils/patches/fix-getopt_check.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Remove check for getopt_long and not existing source
|
||||
files common/getopt.c and common/getopt1.c
|
||||
|
||||
--- configure.ac 2015-10-25 20:55:07.635988008 +0100
|
||||
+++ configure.ac 2015-10-25 20:56:18.683993130 +0100
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
AC_CHECK_HEADERS([sysexits.h])
|
||||
AC_CHECK_HEADERS([getopt.h])
|
||||
-AC_CHECK_FUNC([getopt_long], [], [ AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1]) ])
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[dmtxquery],
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'dmtx-utils'
|
||||
pkgname=dmtx-utils
|
||||
version=0.7.4
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
@ -13,6 +13,8 @@ distfiles="$SOURCEFORGE_SITE/libdmtx/${pkgname}-${version}.tar.bz2"
|
||||
checksum=9f510f6c26a2a73e44da28eae78308973cc274043873cc7f90606624066ec7d0
|
||||
|
||||
pre_configure() {
|
||||
touch aclocal.m4
|
||||
libtoolize -f
|
||||
# Remove check for non-existent common/getopt{,1}.c
|
||||
sed -i configure.ac \
|
||||
-e "/AC_CHECK_FUNC(\[getopt_long\]/s;.*;);"
|
||||
autoreconf -if
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user