Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 10:42:05 GMT
From:      Roman Kurakin <rik@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/85517: samba-2.2.12 + libtool 1.5.8
Message-ID:  <200508311042.j7VAg5Rs057758@www.freebsd.org>
Resent-Message-ID: <200508311050.j7VAoBOG016105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85517
>Category:       ports
>Synopsis:       samba-2.2.12 + libtool 1.5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 31 10:50:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Roman Kurakin
>Release:        5.2.1
>Organization:
Cronyx Engineering
>Environment:
FreeBSD devel12.cronyx.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Tue Jun  1 18:59
:33 MSD 2004     root@devel12.cronyx.ru:/usr/obj/usr/src/sys/RIK  i386
>Description:
The compilation fails on examples/VFS/ cause libtool requires a --tag option.
>How-To-Repeat:
Build samba 2.2.12 with libtool 1.5.8.
(All optios WITH for samba was selected, WITHOUT deselected)
>Fix:
Here is the new patch (patch-examples::VFS::Makefile.in):
--- examples/VFS/Makefile.in.orig       Wed Aug 31 14:06:10 2005
+++ examples/VFS/Makefile.in    Wed Aug 31 14:05:59 2005
@@ -17,11 +17,11 @@

 %.so: %.lo
        @echo Linking $<
-       @$(LIBTOOL) --mode=link $(CC) -o $@ $< $(LDFLAGS)
+       @$(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $< $(LDFLAGS)

 %.lo: %.c
        @echo Compiling $<
-       @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+       @$(LIBTOOL) --mode=compile --tag=CC $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o

 # Misc targets

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508311042.j7VAg5Rs057758>