From 78c2d9bc9f42aca0c746c2a045eb7e385489e7ca Mon Sep 17 00:00:00 2001 From: begasus Date: Wed, 15 Aug 2018 08:35:35 +0200 Subject: [PATCH] libICE, bump revision, cleanup, fix REQUIRES_devel --- x11-libs/libice/libice-1.0.9.recipe | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/x11-libs/libice/libice-1.0.9.recipe b/x11-libs/libice/libice-1.0.9.recipe index 16e62e1ff..6176e7b20 100644 --- a/x11-libs/libice/libice-1.0.9.recipe +++ b/x11-libs/libice/libice-1.0.9.recipe @@ -7,7 +7,7 @@ a particular message." HOMEPAGE="https://www.x.org/releases/individual/lib/" COPYRIGHT="1993, 1998 The Open Group" LICENSE="MIT (no promotion)" -REVISION="2" +REVISION="3" SOURCE_URI="https://www.x.org/releases/individual/lib/libICE-$portVersion.tar.bz2" CHECKSUM_SHA256="8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202" SOURCE_DIR="libICE-$portVersion" @@ -32,11 +32,15 @@ PROVIDES_devel=" " REQUIRES_devel=" libice$secondaryArchSuffix == $portVersion base + devel:xproto " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + docbook_xml_dtd + docbook_xsl_stylesheets devel:util_macros + devel:xorg_sgml_doctools devel:xproto devel:xtrans " @@ -47,6 +51,8 @@ BUILD_PREREQUIRES=" cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix + cmd:xmlto + cmd:xsltproc " defineDebugInfoPackage libice$secondaryArchSuffix \ @@ -54,8 +60,11 @@ defineDebugInfoPackage libice$secondaryArchSuffix \ BUILD() { + export LDFLAGS="-lnetwork" autoreconf -vfi - runConfigure ./configure + runConfigure --omit-dirs docDir ./configure \ + --docdir=$developDocDir \ + --enable-tcp-transport make $jobArgs } @@ -63,6 +72,12 @@ INSTALL() { make install + if [ -z "$secondaryArchSuffix" ]; then + install -m 0644 -t "$developDocDir" README + else + rm -rf "$developDir/documentation" + fi + rm -f $libDir/*.la prepareInstalledDevelLib libICE