libconfig: fix debuginfo package. Thx @alaviss! (see #2291)

* Add cmd:autoreconf to BUILD_PREREQUIRES.
* Don't pass --disable-dependency-tracking to configure.
This commit is contained in:
fbrosson
2018-03-07 12:36:15 +00:00
parent db84fdede0
commit 681c63d4e5

View File

@@ -6,7 +6,7 @@ systems like handheld devices."
HOMEPAGE="https://www.hyperrealm.com/libconfig/"
COPYRIGHT="2005-2018 Mark A Lindner"
LICENSE="GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/hyperrealm/libconfig/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="f67ac44099916ae260a6c9e290a90809e7d782d96cdd462cac656ebc5b685726"
SOURCE_FILENAME="libconfig-$portVersion.tar.gz"
@@ -40,8 +40,8 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:bison
cmd:flex
cmd:g++$secondaryArchSuffix
@@ -52,13 +52,13 @@ BUILD_PREREQUIRES="
"
defineDebugInfoPackage libconfig$secondaryArchSuffix \
"$libDir"/libconfig.so.$libVersion
"$libDir"/libconfig.so.$libVersion \
"$libDir"/libconfig++.so.$libVersion
BUILD()
{
autoreconf -fi
MAKEINFO=true \
runConfigure ./configure --disable-dependency-tracking
MAKEINFO=true runConfigure ./configure
make $jobArgs
}