ports/117701: [patch] multimedia/libfame fix libtool TAG problem with GCC 4.2

pietro cerutti gahr at gahr.ch
Wed Oct 31 00:10:02 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list