pkgsrc-Bugs archive

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

pkg/48081: devel/libtool-base generates wrong libtool script on 32bit and 64 bit Cygwin 1.7.22

>Number:         48081
>Category:       pkg
>Synopsis:       devel/libtool-base generates wrong libtool script on 32bit and 
>64 bit Cygwin 1.7.22
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 25 08:50:00 +0000 2013
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.23
System: NetBSD 6.99.23 NetBSD 6.99.23 (DTRACE) 
#0: Wed Jul 17 21:24:04 JST 2013
Architecture: x86_64
Machine: amd64
On 1.7.22 of cygwin, libtool-base's configure script detects fortran compiler,
FC and F77, and generates wrong libtool is generated.
The libtool script breaks dll files (on cygwin64) or does not link object
files with error (on cygwin).

The wrong libtool script has empty postinstall_cmds, soname_spec etc.
$ cd pkgsrc/devel/libtool-base
$ bmake configure
$ less work/libtool-base*/libtool
and see postinstall_cmds, soname_spec etc.
With CONFIGURE_ENV, fortran support is not disabled.
CONFIGURE_ARGS helps this problem.

I want to commit this patch.
I request OWNER's review.

Index: Makefile
RCS file: /cvsroot/pkgsrc/devel/libtool-base/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- Makefile    1 Jul 2013 15:59:06 -0000       1.103
+++ Makefile    25 Jul 2013 08:44:38 -0000
@@ -60,6 +60,7 @@
 USE_LANGUAGES=         c c++
 CONFIGURE_ARGS+=       --disable-ltdl-install
+CONFIGURE_ARGS+=       F77=no FC=no
 USE_TOOLS+=            echo


Home | Main Index | Thread Index | Old Index