[arch-commits] Commit in libffi/trunk (PKGBUILD libffi-3.0.13-fix-include-path.patch)
Stéphane Gaudreault
stephane at nymeria.archlinux.org
Mon May 27 22:11:02 UTC 2013
Date: Tuesday, May 28, 2013 @ 00:11:02
Author: stephane
Revision: 186500
upgpkg: libffi 3.0.13-2
Do not install header files in /usr/lib
Added:
libffi/trunk/libffi-3.0.13-fix-include-path.patch
Modified:
libffi/trunk/PKGBUILD
--------------------------------------+
PKGBUILD | 13 +++++++++---
libffi-3.0.13-fix-include-path.patch | 34 +++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-27 20:01:39 UTC (rev 186499)
+++ PKGBUILD 2013-05-27 22:11:02 UTC (rev 186500)
@@ -4,7 +4,7 @@
pkgname=libffi
pkgver=3.0.13
-pkgrel=1
+pkgrel=2
pkgdesc="A portable, high level programming interface to various calling conventions"
arch=('i686' 'x86_64')
url="http://sourceware.org/libffi/"
@@ -13,9 +13,16 @@
checkdepends=('dejagnu')
options=('!libtool')
install=libffi.install
-source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz)
-sha1sums=('f5230890dc0be42fb5c58fbf793da253155de106')
+source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz
+ libffi-3.0.13-fix-include-path.patch)
+sha1sums=('f5230890dc0be42fb5c58fbf793da253155de106'
+ '45652f78dc51f325ed85cd277af051afa419acf2')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ../libffi-3.0.13-fix-include-path.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static
Added: libffi-3.0.13-fix-include-path.patch
===================================================================
--- libffi-3.0.13-fix-include-path.patch (rev 0)
+++ libffi-3.0.13-fix-include-path.patch 2013-05-27 22:11:02 UTC (rev 186500)
@@ -0,0 +1,34 @@
+diff -up libffi-3.0.13/include/Makefile.am.fixpath libffi-3.0.13/include/Makefile.am
+--- libffi-3.0.13/include/Makefile.am.fixpath 2013-05-25 22:11:25.983889342 -0400
++++ libffi-3.0.13/include/Makefile.am 2013-05-25 22:12:12.337890037 -0400
+@@ -5,5 +5,5 @@ AUTOMAKE_OPTIONS=foreign
+ DISTCLEANFILES=ffitarget.h
+ EXTRA_DIST=ffi.h.in ffi_common.h
+
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+diff -up libffi-3.0.13/include/Makefile.in.fixpath libffi-3.0.13/include/Makefile.in
+--- libffi-3.0.13/include/Makefile.in.fixpath 2013-05-25 22:12:56.259890696 -0400
++++ libffi-3.0.13/include/Makefile.in 2013-05-25 22:13:12.101890934 -0400
+@@ -250,7 +250,7 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign
+ DISTCLEANFILES = ffitarget.h
+ EXTRA_DIST = ffi.h.in ffi_common.h
+-includesdir = $(libdir)/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includesdir = $(includedir)/
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+ all: all-am
+
+diff -up libffi-3.0.13/libffi.pc.in.fixpath libffi-3.0.13/libffi.pc.in
+--- libffi-3.0.13/libffi.pc.in.fixpath 2013-05-25 22:14:21.037891968 -0400
++++ libffi-3.0.13/libffi.pc.in 2013-05-25 22:14:31.652892128 -0400
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=${libdir}/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
++includedir=@includedir@
+
+ Name: @PACKAGE_NAME@
+ Description: Library supporting Foreign Function Interfaces
More information about the arch-commits
mailing list