From 8d3e0a3dbdc6c124272d492487ea694b4f1e702d Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 21 Dec 2022 20:05:04 +0100 Subject: [PATCH] enca, disable static libraries (#7616) --- app-i18n/enca/enca-1.15.recipe | 13 ++++++++----- app-i18n/enca/enca-1.19.recipe | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app-i18n/enca/enca-1.15.recipe b/app-i18n/enca/enca-1.15.recipe index cdeecc21d..6f2b43e0d 100644 --- a/app-i18n/enca/enca-1.15.recipe +++ b/app-i18n/enca/enca-1.15.recipe @@ -7,12 +7,12 @@ HOMEPAGE="https://cihar.com/software/enca/" COPYRIGHT="2000-2003 David Necas (Yeti) 2009-2013 Michal Cihar" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="http://dl.cihar.com/enca/enca-$portVersion.tar.bz2" CHECKSUM_SHA256="bba29ceb57e7989b89a5a28a97573ae55f46b40fb96f18d83a1d08a205752bc6" -ARCHITECTURES="all" -SECONDARY_ARCHITECTURES="x86_gcc2 x86" +ARCHITECTURES="!all x86_gcc2" +SECONDARY_ARCHITECTURES="x86_gcc2" PROVIDES=" enca$secondaryArchSuffix = $portVersion compat >= 1 @@ -55,7 +55,7 @@ BUILD_PREREQUIRES=" BUILD() { autoreconf -fi - runConfigure ./configure + runConfigure ./configure --disable-static make $jobArgs } @@ -63,10 +63,13 @@ INSTALL() { make install + # remove libtool file + rm $libDir/libenca.la + if [ -n "$secondaryArchSuffix" ]; then rm -rf $binDir $documentationDir fi - prepareInstalledDevelLibs libenca + prepareInstalledDevelLib libenca fixPkgconfig # devel package diff --git a/app-i18n/enca/enca-1.19.recipe b/app-i18n/enca/enca-1.19.recipe index 28df5668d..5d28ffe45 100644 --- a/app-i18n/enca/enca-1.19.recipe +++ b/app-i18n/enca/enca-1.19.recipe @@ -7,12 +7,12 @@ HOMEPAGE="https://cihar.com/software/enca/" COPYRIGHT="2000-2003 David Necas (Yeti) 2009-2013 Michal Cihar" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="http://dl.cihar.com/enca/enca-$portVersion.tar.xz" CHECKSUM_SHA256="3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8" ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="!x86_gcc2 x86" +SECONDARY_ARCHITECTURES="x86" PROVIDES=" enca$secondaryArchSuffix = $portVersion compat >= 1 @@ -55,7 +55,7 @@ BUILD_PREREQUIRES=" BUILD() { autoreconf -fi - runConfigure ./configure + runConfigure ./configure --disable-static make $jobArgs } @@ -69,7 +69,7 @@ INSTALL() if [ -n "$secondaryArchSuffix" ]; then rm -rf $binDir $documentationDir fi - prepareInstalledDevelLibs libenca + prepareInstalledDevelLib libenca fixPkgconfig # devel package