pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44901: libffi misses library reference on m68k
The following reply was made to PR pkg/44901; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/44901: libffi misses library reference on m68k
Date: Sun, 24 Apr 2011 09:37:22 +0900
On Sun, 24 Apr 2011 01:30:01 +0900, <mlelstv%serpens.de@localhost> wrote:
>> Description:
> The libffi package builds without errors, however the generated
> library references the symbol m68k_sync_icache.
>
> dummy# nm /usr/pkg/lib/libffi.so|grep m68k
> U m68k_sync_icache
Pleas apply following patch and rebuild libffi.
Is it resolve the issue?
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libffi/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 14 Feb 2010 22:20:55 -0000 1.14
+++ Makefile 24 Apr 2011 00:35:33 -0000
@@ -36,4 +36,9 @@
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"
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index