Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 13:51:19 GMT
From:      pietro cerutti <gahr@gahr.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117743: [patch] devel/libgtop fix libtool TAG problem with GCC 4.2
Message-ID:  <200711011351.lA1DpJ2C038740@www.freebsd.org>
Resent-Message-ID: <200711011400.lA1E01pD018185@freefall.freebsd.org>

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

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



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