FS#6660 - libffi package needed
Attached to Project:
Arch Linux
Opened by Sergej Pupykin (sergej) - Tuesday, 20 March 2007, 18:12 GMT
Last edited by Jan de Groot (JGC) - Monday, 28 May 2007, 21:06 GMT
Opened by Sergej Pupykin (sergej) - Tuesday, 20 March 2007, 18:12 GMT
Last edited by Jan de Groot (JGC) - Monday, 28 May 2007, 21:06 GMT
|
Details
Both gcc-gcj and g-wrap packages contains libffi, that
should be separate package as in other distros.
So I request to make libffi package and remove it from gcc-gcj. I'll fix g-wrap after it... |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 28 May 2007, 21:06 GMT
Reason for closing: Fixed
Additional comments about closing: libffi-4.2.0-1 from testing installs the includefiles in the correct place. It will move as soon as gcc 4.2 moves to current.
Monday, 28 May 2007, 21:06 GMT
Reason for closing: Fixed
Additional comments about closing: libffi-4.2.0-1 from testing installs the includefiles in the correct place. It will move as soon as gcc 4.2 moves to current.
/usr/lib/libffi.so
/usr/lib/libffi.so.4
/usr/lib/libffi.so.4.0.1
(taken from http://bugs.archlinux.org/task/6664)
We have plans about a redo of our whole gcc package layout, so this will get fixed by that time.
It is not problem to move it into extra instead of creating extra/libffi :)
>> We have plans about a redo of our whole gcc package layout, so this will get fixed by that time.
Ok, I see. We'll wait...
ffitarget.h is absent (it included from ffi.h)
--- PKGBUILD.org 2007-04-28 01:42:46.000000000 +0400
+++ PKGBUILD 2007-05-28 18:58:50.000000000 +0400
@@ -3,12 +3,12 @@
pkgname=libffi
pkgver=4.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="A portable, high level programming interface to various calling conventions."
arch=('i686' 'x86_64')
url="http://sourceware.org/libffi"
depends=('glibc')
-options=('nolibtool')
+options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,java}-${pkgver}.tar.bz2)
md5sums=('2af3fb599635219171c6ae1f3034888a' '83cad4d52ff4a47b69e57012a5efe534')
@@ -19,5 +19,6 @@
../gcc-${pkgver}/libffi/configure --prefix=/usr \
--enable-shared --libdir=/usr/lib --disable-multilib
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${startdir}/pkg install || return 1
+ install -D -m 0644 ../gcc-${pkgver}/libffi/src/x86/ffitarget.h ${startdir}/pkg/usr/include/ffitarget.h
}
# $Id: PKGBUILD,v 1.1 2007/04/27 21:42:46 jgc Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libffi
pkgver=4.1.2
pkgrel=2
pkgdesc="A portable, high level programming interface to various calling conventions."
arch=('i686' 'x86_64')
url="http://sourceware.org/libffi"
depends=('glibc')
options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,java}-${pkgver}.tar.bz2)
md5sums=('2af3fb599635219171c6ae1f3034888a' '83cad4d52ff4a47b69e57012a5efe534')
build() {
cd ${startdir}/src
mkdir gcc-build
cd gcc-build
../gcc-${pkgver}/libffi/configure --prefix=/usr \
--enable-shared --libdir=/usr/lib --disable-multilib
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -D -m 0644 ../gcc-${pkgver}/libffi/src/x86/ffitarget.h ${startdir}/pkg/usr/include/ffitarget.h
}