fish: Fix recipe

It builds but doesn't like being suffixed -x86...
however there are too many C99 lines to use gcc2.
This commit is contained in:
François Revol
2013-12-14 15:58:24 +01:00
parent c135359522
commit 70ddcdd69b

View File

@@ -7,7 +7,7 @@ REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2009 Axel Liljencrantz"
ARCHITECTURES="?x86 ?x86_64"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
@@ -15,7 +15,7 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
fish$secondaryArchSuffix = $portVersion
@@ -32,7 +32,6 @@ BUILD_REQUIRES="
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix >= 5.9
devel:libgettextlib$secondaryArchSuffix
doxygen >= 1.6.3
"
BUILD_PREREQUIRES="
cmd:autoconf
@@ -40,20 +39,22 @@ BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:which
cmd:doxygen >= 1.6.3
"
PATCHES="fish-1.23.1_git.patch"
BUILD()
{
libtoolize --force --copy --install
autoconf
./configure --without-xsel --prefix=$prefix
runConfigure ./configure --without-xsel
make
}
INSTALL()
{
make install DESTDIR=${DESTDIR}
make install
}
TEST()