pkgsrc-Bugs archive

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

pkg/45954: pkgsrc/devel/libffi cannot be built due to missing libtool option



>Number:         45954
>Category:       pkg
>Synopsis:       pkgsrc/devel/libffi cannot be built due to missing libtool 
>option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 08 22:00:00 +0000 2012
>Originator:     Motoyuki Ohmori
>Release:        NetBSD current HEAD with pkgsrc HEAD
>Organization:
Chikushi Jogakuen University
>Environment:
NetBSD xxxx.chikushi-u.ac.jp 5.99.64 NetBSD 5.99.64 (GENERIC) #0: Wed Feb  8 
11:28:41 JST 2012  
ohmori%xxx.chikushi-u.ac.jp@localhost:/home/src/sys/arch/amd64/compile/obj/GENERIC
 amd64
>Description:
pkgsrc/devel/libffi cannot be built due to missing libtool option.
>How-To-Repeat:
just build libffi.
>Fix:
below patch (patch-ak?) will fix the problem:

*** Makefile.in.orig    Thu Feb  9 06:26:13 2012
--- Makefile.in Thu Feb  9 06:27:49 2012
***************
*** 182,192 ****
--- 182,194 ----
  CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
  LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --tag=CC \
        --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --tag=CC \
        --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  CCLD = $(CC)



Home | Main Index | Thread Index | Old Index