[arch-commits] Commit in libffi/repos (3 files)
Allan McRae
allan at archlinux.org
Tue Nov 6 13:16:43 UTC 2018
Date: Tuesday, November 6, 2018 @ 13:16:42
Author: allan
Revision: 337927
archrelease: copy trunk to testing-x86_64
Added:
libffi/repos/testing-x86_64/
libffi/repos/testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch
(from rev 337926, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
libffi/repos/testing-x86_64/PKGBUILD
(from rev 337926, libffi/trunk/PKGBUILD)
--------------------------------------+
0001-Fix-paths-in-libffi.pc.in.patch | 41 +++++++++++++++++++++++++++++++++
PKGBUILD | 32 +++++++++++++++++++++++++
2 files changed, 73 insertions(+)
Copied: libffi/repos/testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch (from rev 337926, libffi/trunk/0001-Fix-paths-in-libffi.pc.in.patch)
===================================================================
--- testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch (rev 0)
+++ testing-x86_64/0001-Fix-paths-in-libffi.pc.in.patch 2018-11-06 13:16:42 UTC (rev 337927)
@@ -0,0 +1,41 @@
+From ad0d1d239afc7ad09203847793dcc020856d1035 Mon Sep 17 00:00:00 2001
+From: Samuli Suominen <ssuominen at gentoo.org>
+Date: Thu, 12 Jun 2014 06:30:21 -0400
+Subject: [PATCH] Fix paths in libffi.pc.in
+
+---
+ configure.ac | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4f7fe3f..bbc1a9d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety,
+ if test "x$GCC" = "xyes"; then
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+- toolexecdir='$(exec_prefix)/$(target_alias)'
+- toolexeclibdir='$(toolexecdir)/lib'
++ toolexecdir="${exec_prefix}"/'$(target_alias)'
++ toolexeclibdir="${toolexecdir}"/lib
+ else
+- toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+- toolexeclibdir='$(libdir)'
++ toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
++ toolexeclibdir="${libdir}"
+ fi
+ multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
+ case $multi_os_directory in
+@@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then
+ esac
+ AC_SUBST(toolexecdir)
+ else
+- toolexeclibdir='$(libdir)'
++ toolexeclibdir="${libdir}"
+ fi
+ AC_SUBST(toolexeclibdir)
+
+--
+2.0.0
+
Copied: libffi/repos/testing-x86_64/PKGBUILD (from rev 337926, libffi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-06 13:16:42 UTC (rev 337927)
@@ -0,0 +1,32 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi
+pkgver=3.2.1
+pkgrel=3
+pkgdesc='Portable foreign function interface library'
+arch=('x86_64')
+url='http://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
+sha1sums=('280c265b789e041c02e5c97815793dfc283fb1e6')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static \
+ --enable-pax_emutramp
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list