Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=792b655046d3f5713934c6ba5f0f12ad6c832df5
commit 792b655046d3f5713934c6ba5f0f12ad6c832df5 Author: crazy <[email protected]> Date: Sat Oct 22 23:15:01 2016 +0200 gmp-6.1.1-5-x86_64 * added 32bit subpackage * added an patch to fix hardcoded 'includeexecdir' ( what?!? ) * reworked the whole FB diff --git a/source/base/gmp/FrugalBuild b/source/base/gmp/FrugalBuild index c216103..8af6400 100644 --- a/source/base/gmp/FrugalBuild +++ b/source/base/gmp/FrugalBuild @@ -5,30 +5,19 @@ pkgname=gmp pkgver=6.1.1 pkgextraver= -pkgrel=4 +pkgrel=5 pkgdesc="GNU multiple precision arithmetic library" url="http://gmplib.org" -archs=('i686' 'x86_64') -depends=('libstdc++>=6.2.1-5') +archs=('x86_64') +depends=('libstdc++>=6.2.1-8') Fup2gnubz2 +_F_cross32_simple_auto="yes" +Finclude cross32 groups=('base' 'devel-core' 'chroot-core') -source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-${pkgver}${pkgextraver}.tar.xz) -signatures=($source.sig) +source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-${pkgver}${pkgextraver}.tar.xz include-path.patch) +signatures=($source.sig '') _F_archive_ver="$pkgver" - -build() -{ - [ "$CARCH" == "i686" ] && export MPN_PATH="x86 generic" - [ "$CARCH" == "x86_64" ] && export MPN_PATH="x86_64 generic" - - Fcd - Fconf --enable-cxx \ - --disable-static \ - --build=$CHOST - Fmessage "Running make check" - make || Fdie - make check || Fdie - Fmakeinstall -} +Fconfopts+=" --enable-cxx --build=$CHOST" +F32confopts+=' MPN_PATH="x86 generic" ABI=32' # optimization OK diff --git a/source/base/gmp/include-path.patch b/source/base/gmp/include-path.patch new file mode 100644 index 0000000..1fb34d4 --- /dev/null +++ b/source/base/gmp/include-path.patch @@ -0,0 +1,24 @@ +diff -Naur gmp-6.1.1/Makefile.am gmp-6.1.1-p/Makefile.am +--- gmp-6.1.1/Makefile.am 2016-06-18 22:00:00.000000000 +0200 ++++ gmp-6.1.1-p/Makefile.am 2016-10-22 23:05:33.008990968 +0200 +@@ -129,7 +129,7 @@ + # but anyone knowledgeable enough to be playing with exec_prefix will be able + # to address that. + # +-includeexecdir = $(exec_prefix)/include ++includeexecdir = @includedir@ + include_HEADERS = $(GMPXX_HEADERS_OPTION) + nodist_includeexec_HEADERS = gmp.h + lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) +diff -Naur gmp-6.1.1/Makefile.in gmp-6.1.1-p/Makefile.in +--- gmp-6.1.1/Makefile.in 2016-06-18 22:00:06.000000000 +0200 ++++ gmp-6.1.1-p/Makefile.in 2016-10-22 23:07:00.365992262 +0200 +@@ -601,7 +601,7 @@ + # but anyone knowledgeable enough to be playing with exec_prefix will be able + # to address that. + # +-includeexecdir = $(exec_prefix)/include ++includeexecdir = @includedir@ + include_HEADERS = $(GMPXX_HEADERS_OPTION) + nodist_includeexec_HEADERS = gmp.h + lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
