pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38605: devel/libffi doesn't build on FreeBSD 6.2

>Number:         38605
>Category:       pkg
>Synopsis:       devel/libffi doesn't build on FreeBSD 6.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 07 13:50:00 +0000 2008
>Originator:     Aleksej Saushev
FreeBSD 6.2-STABLE-200706 i386

devel/libffi breaks at configuration stage, when trying to
compile test programs with "cc -maout", it bails out with
"your cc doesn't work" diagnostic message.
There's no a.out support in FreeBSD 6.

libffi is rather critical package, since many tools (e.g.
programming language interpreters) depend on it.

cd devel/libffi && bmake configure

Apply the patch below to work around:

Index: Makefile
RCS file: /cvsroot/pkgsrc/devel/libffi/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile    3 Apr 2008 09:34:40 -0000       1.7
+++ Makefile    7 May 2008 13:32:01 -0000
@@ -17,6 +17,7 @@
 CONFIGURE_ENV+=        with_target_subdir=.
 CONFIG_GUESS_OVERRIDE= ../config.guess
 CONFIG_SUB_OVERRIDE=   ../config.sub
+CONFIGURE_ARGS+=       --disable-multilib
 WRKSRC=                ${WRKDIR}/${DISTNAME}/libffi

Home | Main Index | Thread Index | Old Index