mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Add TEST() to various ports (#1832)
* app-crypt/rhash: disable on x86_gcc2, also fixed secondary arch
* dev-lang/tcc: make tcc actually works
- update patches: define custom haiku definitions, use haiku
start/end objects
- make tcc uses haiku custom paths
- add secondary arch support
- add x86_64
* dev-lang/tcc: disable on all architectures
- Haiku's BeBuild.h depends on __GNUC__ macro to select ABI, which
unfortunately we can't risk to define, so disabling for now
* dev-python/pyqt: use correct name for sip
* dev-lang/spidermonkey: fix build
- add x86 to snd arch
- update config.sub and config.guess
- add missing cmd:js_config
- add missing cmd:zip
* dev-python/pyqt: clean up the spaces left by previous contributor
* add TEST() for the following ports:
- sys-devel/flex
- app-crypt/rhash
- app-text/podofo
- app-crypt/qca
- app-editors/retext
- app-i18n/mozc
- dev-lang/tcc
- dev-lang/yasm
- dev-lang/spidermonkey
- dev-libs/glib
- dev-libs/jsoncpp
- dev-libs/libtommath
- dev-libs/libxslt
- dev-libs/libyajl
- dev-libs/zziplib
This commit is contained in:
@@ -11,9 +11,11 @@ SOURCE_DIR="js-$portVersion/"
|
||||
PATCHES="spidermonkey-${portVersion}.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
spidermonkey$secondaryArchSuffix = $portVersion compat >= 1.8
|
||||
cmd:js_config$secondaryArchSuffix = $portVersion
|
||||
lib:libmozjs185$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -34,6 +36,7 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:awk
|
||||
@@ -41,13 +44,22 @@ BUILD_PREREQUIRES="
|
||||
cmd:xargs
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sed
|
||||
cmd:zip
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
cd js/src
|
||||
sed -e 's|${srcdir}/||' -i configure.in
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd js/src
|
||||
runConfigure --omit-dirs "libDir docDir dataRootDir" ./configure \
|
||||
--disable-tracejit
|
||||
libtoolize -fci
|
||||
|
||||
runConfigure --omit-dirs "docDir dataRootDir" ./configure \
|
||||
--disable-tracejit --enable-tests
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -66,3 +78,9 @@ INSTALL()
|
||||
$developDir
|
||||
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd js/src/jsapi-tests
|
||||
make check
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user