OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Feb-2008 10:27:33
Branch: HEAD Handle: 2008021609273100
Added files:
openpkg-src/libffi libffi.patch
Modified files:
openpkg-src/libffi libffi.spec
Log:
upgrading package: libffi 20060612 -> 3.0.1
Summary:
Revision Changes Path
1.1 +12 -0 openpkg-src/libffi/libffi.patch
1.27 +15 -18 openpkg-src/libffi/libffi.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libffi/libffi.patch
============================================================================
$ cvs diff -u -r0 -r1.1 libffi.patch
--- /dev/null 2008-02-16 10:22:00 +0100
+++ libffi.patch 2008-02-16 10:27:32 +0100
@@ -0,0 +1,12 @@
+Index: include/Makefile.in
+--- include/Makefile.in.orig 2008-02-16 01:59:42 +0100
++++ include/Makefile.in 2008-02-16 10:25:41 +0100
+@@ -182,7 +182,7 @@
+ AUTOMAKE_OPTIONS = foreign
+ DISTCLEANFILES = ffitarget.h
+ EXTRA_DIST = ffi.h.in ffi_common.h
+-includesdir = $(libdir)/@[EMAIL PROTECTED]@PACKAGE_VERSION@/include
++includesdir = $(includedir)
+ nodist_includes_HEADERS = ffi.h ffitarget.h
+ all: all-am
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/libffi/libffi.spec
============================================================================
$ cvs diff -u -r1.26 -r1.27 libffi.spec
--- openpkg-src/libffi/libffi.spec 1 Jan 2008 14:56:51 -0000 1.26
+++ openpkg-src/libffi/libffi.spec 16 Feb 2008 09:27:31 -0000 1.27
@@ -23,19 +23,20 @@
# package information
Name: libffi
-Summary: GCC Foreign Function Interface (FFI) Library
-URL: http://sources.redhat.com/libffi/
-Vendor: The GCC Project
+Summary: Foreign Function Interface (FFI) Library
+URL: http://sourceware.org/libffi/
+Vendor: GNU, RedHat
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Compiler
License: LGPL
-Version: 20060612
-Release: 20080101
+Version: 3.0.1
+Release: 20080216
# list of sources
-Source0:
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libffi/libffi-%{version}.tar.gz
+Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
+Patch0: libffi.patch
# build information
Prefix: %{l_prefix}
@@ -73,35 +74,31 @@
%track
prog libffi = {
version = %{version}
- url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/libffi/
+ url = ftp://sourceware.org/pub/libffi/
regex = libffi-(__VER__)\.tar\.gz
}
%prep
- %setup -q -c
+ %setup -q
+ %patch -p0
%build
- cd gcc/libffi
- srcdir=. \
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
- --with-multisrctop=src/ \
--prefix=%{l_prefix} \
+ --mandir=%{l_prefix}/man \
+ --infodir=%{l_prefix}/info \
+ --includedir=%{l_prefix}/include \
--disable-shared
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
- ( cd gcc/libffi
- %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
- ) || exit $?
- mv $RPM_BUILD_ROOT%{l_prefix}/lib/gcc/include/libffi/ffitarget.h \
- $RPM_BUILD_ROOT%{l_prefix}/include/ffitarget.h
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/gcc
- strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+ rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]