summaryrefslogtreecommitdiff
path: root/devel/libffi
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2009-04-17 22:45:52 +0000
committerrh <rh@pkgsrc.org>2009-04-17 22:45:52 +0000
commit388d1466bfa9b49bc51ef5a714090f3cd3782555 (patch)
treef8056e6a0327c25528f5a720890333e495318d57 /devel/libffi
parent249178d56ff6360c1c75d8d9a2a611909c823d48 (diff)
downloadpkgsrc-388d1466bfa9b49bc51ef5a714090f3cd3782555.tar.gz
Attempt to make this build on NetBSD/powerpc. While at it, correctly set
INFO_FILES to 'yes'. Bump PKGREVISION.
Diffstat (limited to 'devel/libffi')
-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..604c4d6bef5 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.10 2009/04/17 22:45:52 rh 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..22b7355a4c2 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.11 2009/04/17 22:45:52 rh 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..f4a452cda5b
--- /dev/null
+++ b/devel/libffi/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.7 2009/04/17 22:45:52 rh 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*)