diff options
author | asau <asau@pkgsrc.org> | 2011-04-24 09:51:29 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2011-04-24 09:51:29 +0000 |
commit | 59cc9a536bee96f21d936bf4a1c1c55f3b496afe (patch) | |
tree | d901be64c42f4f99ff6fbfbab4e10fe3831f0140 /devel/libffi | |
parent | c059e2e56cc62caaebd8fa67e7ec78a86bcd66db (diff) | |
download | pkgsrc-59cc9a536bee96f21d936bf4a1c1c55f3b496afe.tar.gz |
The library uses m68k_sync_icache from libm68k on NetBSD/m68k.
Fix as proposed by <obache> in PR pkg/44901. Bump package revision.
Diffstat (limited to 'devel/libffi')
-rw-r--r-- | devel/libffi/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile index 05cac896470..c52c47feaa7 100644 --- a/devel/libffi/Makefile +++ b/devel/libffi/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2010/02/14 22:20:55 tnn Exp $ +# $NetBSD: Makefile,v 1.15 2011/04/24 09:51:29 asau Exp $ # DISTNAME= libffi-3.0.9 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://sourceware.org/pub/libffi/ @@ -36,4 +37,9 @@ TEST_TARGET= check BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu .endif +# patch-aj uses m68k_sync_icache(2) +.if !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) +LIBS+= -lm68k +.endif + .include "../../mk/bsd.pkg.mk" |