mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
bison: update recipe
* Move liby to develop/lib and declare the respective provides correctly. * Use runConfigure, jobArgs. * Remove charset.alias.
This commit is contained in:
@@ -16,14 +16,14 @@ COPYRIGHT="1992-2010 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/bison/bison-2.4.3.tar.gz"
|
||||
CHECKSUM_MD5="ea45c778b36bdc7a720096819e292a73"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
bison = $portVersion compat >= 2.4
|
||||
cmd:bison = $portVersion compat >= 2.4
|
||||
cmd:yacc
|
||||
lib:liby.a = $portVersion compat >= 2.4
|
||||
devel:liby = $portVersion compat >= 2.4
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
@@ -45,18 +45,23 @@ BUILD()
|
||||
{
|
||||
# bison looks for m4 in an absolute path, but uses that only within
|
||||
# its own testsuite, so we let it be ...
|
||||
./configure $configureDirArgs \
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld
|
||||
make -j$jobs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs liby
|
||||
|
||||
rm $libDir/charset.alias
|
||||
rmdir $libDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user