From f3e6c8abd5852b0a2a167d2b9dfd7a89db9f5e24 Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 25 Dec 2016 20:02:04 +0100 Subject: [PATCH] Xerces-C: some supporting libs added. (#923) * Xerces-C: some supporting libs added. * Update xerces_c-3.1.4.recipe * Update xerces_c-3.1.4.recipe --- dev-libs/xerces_c/xerces_c-3.1.4.recipe | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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 }