ports/117743: [patch] devel/libgtop fix libtool TAG problem with GCC 4.2

pietro cerutti gahr at gahr.ch
Thu Nov 1 14:00:08 UTC 2007


>Number:         117743
>Category:       ports
>Synopsis:       [patch] devel/libgtop 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:   Thu Nov 01 14:00: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 few Makefile.in's in devel/gtop miss a --tag specification for libtool, which complains when used with GCC 4.2
>How-To-Repeat:
cd /usr/ports/devel/libgtop && make
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2007-10-25 01:35:12.000000000 +0200
+++ Makefile	2007-10-31 20:37:13.000000000 +0100
@@ -33,6 +33,12 @@
 
 INFO=		libgtop2
 
+post-patch:
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e   \
+		's|--mode=compile|--mode=compile --tag=CC|g'
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e   \
+		's|--mode=link|--mode=link --tag=CC|g'
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 600000


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



More information about the freebsd-ports-bugs mailing list