swiften: remove scons from hostmakedepends
This commit is contained in:
parent
a18d645d35
commit
bf61ace331
2 changed files with 11 additions and 3 deletions
10
srcpkgs/swiften/patches/fix-gcc8.patch
Normal file
10
srcpkgs/swiften/patches/fix-gcc8.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- Sluift/main.cpp
|
||||||
|
+++ Sluift/main.cpp
|
||||||
|
@@ -20,6 +20,7 @@
|
||||||
|
#include <Sluift/StandardTerminal.h>
|
||||||
|
#include <Sluift/sluift.h>
|
||||||
|
#include <Sluift/Lua/LuaUtils.h>
|
||||||
|
+#include <iostream>
|
||||||
|
#ifdef HAVE_EDITLINE
|
||||||
|
#include <Sluift/EditlineTerminal.h>
|
||||||
|
#endif
|
|
@ -2,8 +2,8 @@
|
||||||
pkgname=swiften
|
pkgname=swiften
|
||||||
version=3.0
|
version=3.0
|
||||||
revision=8
|
revision=8
|
||||||
|
wrksrc="swift-${version}"
|
||||||
build_style=scons
|
build_style=scons
|
||||||
hostmakedepends="scons"
|
|
||||||
makedepends="boost-devel libressl-devel libxml2-devel libidn-devel"
|
makedepends="boost-devel libressl-devel libxml2-devel libidn-devel"
|
||||||
short_desc="XMPP library for C++"
|
short_desc="XMPP library for C++"
|
||||||
maintainer="John Regan <john@jrjrtech.com>"
|
maintainer="John Regan <john@jrjrtech.com>"
|
||||||
|
@ -11,8 +11,6 @@ license="GPL-3"
|
||||||
homepage="http://swift.im/"
|
homepage="http://swift.im/"
|
||||||
distfiles="http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2"
|
distfiles="http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2"
|
||||||
checksum=2e48f081d337f471b4eba7c0c807a7b640216a76ed3568ced55abb5b927c7fd2
|
checksum=2e48f081d337f471b4eba7c0c807a7b640216a76ed3568ced55abb5b927c7fd2
|
||||||
wrksrc="swift-${version}"
|
|
||||||
make_build_targets="Swiften"
|
|
||||||
|
|
||||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1"
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1"
|
||||||
_scons_options="assertions=1 build_examples=1 max_jobs=1 optimize=1 debug=0 swiften_dll=1"
|
_scons_options="assertions=1 build_examples=1 max_jobs=1 optimize=1 debug=0 swiften_dll=1"
|
||||||
|
|
Loading…
Reference in a new issue