Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 00:06:09 GMT
From:      pietro cerutti <gahr@gahr.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117701: [patch] multimedia/libfame fix libtool TAG problem with GCC 4.2
Message-ID:  <200710310006.l9V069Pl021153@www.freebsd.org>
Resent-Message-ID: <200710310010.l9V0A1as012653@freefall.freebsd.org>

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

>Number:         117701
>Category:       ports
>Synopsis:       [patch] multimedia/libfame fix libtool TAG problem with GCC 4.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 00:10:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     pietro cerutti
>Release:        6.2-STABLE
>Organization:
Bern University of Applied Sciences
>Environment:
FreeBSD gahrtop.localhost 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Oct 24 08:30:39 CEST 2007     root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034  i386
>Description:
A Makefile.in in multimedia/libfame misses a --tag specification for libtool, which complains when used with GCC 4.2
>How-To-Repeat:
cd /usr/ports/multimedia/libfmake && make
>Fix:
Add this patch to ${FILESDIR}

/*** BEGIN patch-src-Makefile.in ***/
--- src/Makefile.in.orig	2007-10-31 01:01:38.000000000 +0100
+++ src/Makefile.in	2007-10-31 01:02:01.000000000 +0100
@@ -278,10 +278,10 @@
 @AMDEP_TRUE@	./$(DEPDIR)/fame_syntax_mpeg4.Plo
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
+LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
 	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES = $(libfame_la_SOURCES)
 HEADERS = $(libfame_la_include_HEADERS)

/*** END patch-src-Makefile.in ***/

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



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