avrdude: fix build for other arch

* thnx fbrosson
This commit is contained in:
Gerasim Troeglazov
2018-06-19 21:03:07 +10:00
parent 8f62a8960a
commit 92629821fa

View File

@@ -5,7 +5,7 @@ technique (ISP)."
HOMEPAGE="http://www.nongnu.org/avrdude/"
COPYRIGHT="2003-2016 Brian S. Dean"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://download.savannah.gnu.org/releases/avrdude/avrdude-$portVersion.tar.gz"
CHECKSUM_SHA256="0f9f731b6394ca7795b88359689a7fa1fba818c6e1d962513eb28da670e0a196"
PATCHES="avrdude-$portVersion.patchset"
@@ -51,8 +51,8 @@ BUILD()
{
autoreconf -fi
libtoolize --force --copy --install
if [ "$effectiveTargetArchitecture" == x86 ]; then
export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/
if [ -n "$secondaryArchSuffix" ]; then
export PKG_CONFIG_LIBDIR=/system/$relativeDevelopLibDir/pkgconfig/
fi
automake --add-missing
runConfigure ./configure