summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@pulkomandy.tk>2015-08-17 20:05:31 +0200
committerVincent Sanders <vince@kyllikki.org>2015-10-12 20:57:47 +0100
commit15256411d8e9227832e012d49658a651e3d62e3e (patch)
tree41ee9e9b936e5e3030fcda97dce6fc23fe4b0413 /Docs
parent7b6d89db04ca01f7770e713fc4977e6f55dbf6c6 (diff)
downloadnetsurf-15256411d8e9227832e012d49658a651e3d62e3e.tar.gz
netsurf-15256411d8e9227832e012d49658a651e3d62e3e.tar.bz2
env.sh: Fix Haiku support
* We need libsvgtiny and nsgenbind * We need to get packages for gcc4 (_x86 suffix) * Use virtual provides for getting the package, for example devel:libpng means "development files for libpng", no matter how it is packaged (currently the package is named libpng16, but this could change again).
Diffstat (limited to 'Docs')
-rw-r--r--Docs/env.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Docs/env.sh b/Docs/env.sh
index 83a521970..84a438ab4 100644
--- a/Docs/env.sh
+++ b/Docs/env.sh
@@ -80,9 +80,9 @@ NS_BROWSER="netsurf"
case "${HOST}" in
i586-pc-haiku)
# tools required to build the browser for haiku (beos)
- NS_TOOLS=""
+ NS_TOOLS="nsgenbind"
# libraries required for the haiku target abi
- NS_FRONTEND_LIBS=""
+ NS_FRONTEND_LIBS="libsvgtiny"
;;
*arwin*)
# tools required to build the browser for OS X
@@ -161,9 +161,9 @@ ns-yum-install()
# Haiku secondary arch suffix:
# empty for primary (gcc2 on x86),
# "_x86" for gcc4 secondary.
-HA=
+HA=_x86
# Haiku packages
-NS_DEV_HPKG="curl${HA}_devel libpng${HA}_devel jpeg${HA}_devel openssl${HA}_devel libiconv${HA}_devel expat${HA}_devel pkgconfig${HA} gperf${HA}"
+NS_DEV_HPKG="devel:libcurl${HA} devel:libpng${HA} devel:libjpeg${HA} devel:libcrypto${HA} devel:libiconv${HA} devel:libexpat${HA} cmd:pkg_config${HA} cmd:gperf html_parser"
# pkgman commandline to install necessary dev packages
ns-pkgman-install()