Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 14:09:09 GMT
From:      pietro cerutti <gahr@gahr.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117744: [patch] textproc/scrollkeeper fix libtool TAG problem with GCC 4.2
Message-ID:  <200711011409.lA1E99KD042079@www.freebsd.org>
Resent-Message-ID: <200711011410.lA1EA1jI018507@freefall.freebsd.org>

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

>Number:         117744
>Category:       ports
>Synopsis:       [patch] textproc/scrollkeeper 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: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 few Makefile.in's in textproc/scrollkeeper miss a --tag specification for libtool, which complains when used with GCC 4.2
>How-To-Repeat:
cd /usr/ports/textproc/scrollkeeper && make
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2007-10-31 20:31:34.000000000 +0100
+++ Makefile	2007-11-01 14:03:41.000000000 +0100
@@ -56,6 +56,10 @@
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e   \
 		's|[(]LN_S[)] -f -n|(LN_S) -f|g'
+	@${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'
 	@${REINPLACE_CMD} -e 's|/usr/share/locale|${PREFIX}/share/locale|g' \
 		${WRKSRC}/libs/scrollkeeper.h.in
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \


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



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