diff --git a/x11-libs/libsm/libsm-1.2.2.recipe b/x11-libs/libsm/libsm-1.2.2.recipe index 767e60574..957017c4d 100644 --- a/x11-libs/libsm/libsm-1.2.2.recipe +++ b/x11-libs/libsm/libsm-1.2.2.recipe @@ -8,7 +8,7 @@ HOMEPAGE="https://www.x.org/releases/individual/lib/" COPYRIGHT="1989, 1998 The Open Group 2002 Oracle and/or its affiliates" LICENSE="MIT (no promotion)" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.x.org/releases/individual/lib/libSM-$portVersion.tar.bz2" CHECKSUM_SHA256="0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd" SOURCE_DIR="libSM-$portVersion" @@ -34,6 +34,8 @@ PROVIDES_devel=" " REQUIRES_devel=" libsm$secondaryArchSuffix == $portVersion base + devel:libICE$secondaryArchSuffix + devel:xproto " BUILD_REQUIRES=" @@ -43,7 +45,6 @@ BUILD_REQUIRES=" devel:libICE$secondaryArchSuffix devel:util_macros devel:xorg_sgml_doctools - devel:xproto devel:xtrans " BUILD_PREREQUIRES=" @@ -62,8 +63,11 @@ defineDebugInfoPackage libsm$secondaryArchSuffix \ BUILD() { + export LDFLAGS="-lnetwork" autoreconf -vfi - runConfigure ./configure + runConfigure --omit-dirs docDir ./configure \ + --docdir=$developDocDir \ + --enable-tcp-transport make $jobArgs } @@ -71,6 +75,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 libSM