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:
alaviss
2017-12-10 19:49:50 +07:00
committed by fbrosson
parent e608f7d42c
commit a0fdf8cf1f
18 changed files with 413 additions and 44 deletions

View File

@@ -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
}