mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
sane_backends, revbump, fix 32bit (needs optimization flag) (#12342)
add some missing secondaryArchSuffix flags + use pythonVersion string for cmd:python also
This commit is contained in:
@@ -16,7 +16,7 @@ documentation."
|
||||
HOMEPAGE="http://www.sane-project.org"
|
||||
COPYRIGHT="David Mosberger-Tang, Andy Beck"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://gitlab.com/sane-project/backends/-/archive/$portVersion/backends-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cc8796701015def1c598f97962a70d63957b9786841391cc412a606568b42b96"
|
||||
SOURCE_DIR="backends-$portVersion"
|
||||
@@ -78,20 +78,20 @@ BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:autopoint
|
||||
cmd:autopoint$secondaryArchSuffix
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3
|
||||
cmd:python$pythonVersion
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
if [ $effectiveTargetArchitecture == 'x86' ]; then
|
||||
export CFLAGS="-DTIFF_DISABLE_DEPRECATED"
|
||||
export CFLAGS="-DTIFF_DISABLE_DEPRECATED -O2"
|
||||
fi
|
||||
|
||||
./autogen.sh
|
||||
@@ -136,5 +136,5 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check $jobArgs
|
||||
make check $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user