summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2009-05-22 11:55:35 +0000
committertron <tron>2009-05-22 11:55:35 +0000
commit69aacbd9944b82e228f6ca8f801c5ba2523beb37 (patch)
tree0b1c6c20059355631cb8e377514a6c1495b6cd16
parenta5fe54ee6ad143b1651856950e2458ef8de1a669 (diff)
downloadpkgsrc-69aacbd9944b82e228f6ca8f801c5ba2523beb37.tar.gz
Pullup ticket #2776 - requested by he
libffi: build fix Revisions pulled up: - devel/libffi/Makefile 1.10 - devel/libffi/distinfo 1.11 - devel/libffi/patches/patch-aa 1.7 --- Module Name: pkgsrc Committed By: rh Date: Fri Apr 17 22:45:52 UTC 2009 Modified Files: pkgsrc/devel/libffi: Makefile distinfo Added Files: pkgsrc/devel/libffi/patches: patch-aa Log Message: Attempt to make this build on NetBSD/powerpc. While at it, correctly set INFO_FILES to 'yes'. Bump PKGREVISION.
-rw-r--r--devel/libffi/Makefile5
-rw-r--r--devel/libffi/distinfo3
-rw-r--r--devel/libffi/patches/patch-aa13
3 files changed, 18 insertions, 3 deletions
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 89cf6e91d14..e1d257215fb 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2009/02/21 15:51:35 asau Exp $
+# $NetBSD: Makefile,v 1.9.2.1 2009/05/22 11:55:35 tron Exp $
#
DISTNAME= libffi-3.0.8
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/libffi/
@@ -16,7 +17,7 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
-INFO_FILES= # PLIST
+INFO_FILES= yes
PKGCONFIG_OVERRIDE+= libffi.pc.in
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index 3d52aa5d198..330f087e319 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2009/02/21 15:51:35 asau Exp $
+$NetBSD: distinfo,v 1.10.2.1 2009/05/22 11:55:35 tron Exp $
SHA1 (libffi-3.0.8.tar.gz) = ce44d10c39d9a37479c8777e206cac0f36c48712
RMD160 (libffi-3.0.8.tar.gz) = 4144f64e79ebf95161a6afd58ceaeef8372b5e57
Size (libffi-3.0.8.tar.gz) = 722834 bytes
+SHA1 (patch-aa) = c15f4b7838ff7f4838de2981a5f3681a43a99503
SHA1 (patch-ac) = 307c08e8e3df5f079c0b2f63da58bb59fc089d30
SHA1 (patch-ad) = 8901a00abe25422e3e35f321a5fb89311185fc0b
diff --git a/devel/libffi/patches/patch-aa b/devel/libffi/patches/patch-aa
new file mode 100644
index 00000000000..31c8e0833d7
--- /dev/null
+++ b/devel/libffi/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.7.2.2 2009/05/22 11:55:35 tron Exp $
+
+--- configure.orig 2008-12-20 02:12:45.000000000 +1000
++++ configure
+@@ -21033,7 +21033,7 @@ case "$host" in
+ powerpc-*-aix* | rs6000-*-aix*)
+ TARGET=POWERPC_AIX; TARGETDIR=powerpc
+ ;;
+- powerpc-*-freebsd*)
++ powerpc-*-freebsd* | powerpc-*-netbsd*)
+ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
+ ;;
+ powerpc*-*-rtems*)