diff --git a/dev-libs/xerces_c/xerces_c-3.1.4.recipe b/dev-libs/xerces_c/xerces_c-3.1.4.recipe index 0879bd4e1..23ecc9167 100644 --- a/dev-libs/xerces_c/xerces_c-3.1.4.recipe +++ b/dev-libs/xerces_c/xerces_c-3.1.4.recipe @@ -6,7 +6,7 @@ and SAX2 APIs." HOMEPAGE="https://xerces.apache.org/xerces-c/" COPYRIGHT="1999-2016 The Apache Software Foundation" LICENSE="Apache v2" -REVISION="1" +REVISION="2" SOURCE_URI="http://apache.mirrors.tds.net/xerces/c/3/sources/xerces-c-$portVersion.tar.bz2" CHECKSUM_SHA256="9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891" SOURCE_DIR="xerces-c-$portVersion" @@ -36,6 +36,10 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + lib:libcrypto$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libssl$secondaryArchSuffix + lib:libz$secondaryArchSuffix " PROVIDES_devel=" @@ -49,6 +53,10 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + devel:libcrypto$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libssl$secondaryArchSuffix + devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal @@ -64,7 +72,10 @@ BUILD_PREREQUIRES=" BUILD() { autoreconf -fi - runConfigure ./configure + LDFLAGS="-lnetwork -lbsd" \ + CFLAGS="-D_BSD_SOURCE" \ + runConfigure ./configure + make $jobArgs }