mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
avrdude: fix build for other arch
* thnx fbrosson
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user