ports/117744: [patch] textproc/scrollkeeper fix libtool TAG problem with GCC 4.2
pietro cerutti
gahr at gahr.ch
Thu Nov 1 14:10:02 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list