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

@@ -60,7 +60,7 @@ PROVIDES_python="
"
REQUIRES_python="
pyqt$secondaryArchSuffix == $portVersion base
sip_python >= 4.19
python_sip >= 4.19
cmd:python2
$REQUIRES
"
@@ -78,7 +78,7 @@ PROVIDES_python3="
REQUIRES_python3="
haiku${secondaryArchSuffix}
pyqt$secondaryArchSuffix == $portVersion base
sip_python3 >= 4.19
python3_sip >= 4.19
cmd:python$PYTHON3_VERSION
$REQUIRES
"
@@ -89,9 +89,9 @@ REPLACES_python3="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
setuptools_python
sip_python # >= 4.19
python_sip # >= 4.19
setuptools_python3
sip_python3 # >= 4.19
python3_sip # >= 4.19
devel:libQt5Bluetooth$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Designer$secondaryArchSuffix >= 5.7
@@ -155,7 +155,7 @@ BUILD()
--sip=$portPackageLinksDir/sip_python/bin/python2-sip \
--stubsdir=$installLocation/PyQt5 \
#--verbose
make $jobArgs
cd ${sourceDir}_build3
@@ -176,7 +176,7 @@ BUILD()
--sip=$portPackageLinksDir/sip_python3/bin/sip \
--stubsdir=$installLocation/PyQt5 \
#--verbose
make $jobArgs
}