mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +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:
@@ -39,7 +39,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
# cmd:python2
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -49,6 +49,7 @@ BUILD()
|
||||
cmake $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE='Release' \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DJSONCPP_WITH_TESTS=ON \
|
||||
..
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -65,3 +66,9 @@ INSTALL()
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make jsoncpp_check
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user