Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 03:27:13 GMT
From:      bf <bf1783@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136595: [PATCH] x11/rxvt-devel: allow the port to be built with different compilers
Message-ID:  <200907090327.n693RDG9047724@www.freebsd.org>
Resent-Message-ID: <200907090330.n693U7vw031482@freefall.freebsd.org>

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

>Number:         136595
>Category:       ports
>Synopsis:       [PATCH] x11/rxvt-devel: allow the port to be built with different compilers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 09 03:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        8-CURRENT amd64
>Organization:
-
>Environment:
>Description:
libtool cannot determine tags for some C compilers, causing the build of this port to fail.  Help it out by explicitly furnishing tags, as done in other ports.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN rxvt-devel.orig/Makefile rxvt-devel/Makefile
--- rxvt-devel.orig/Makefile	2009-07-08 22:48:56.000000000 -0400
+++ rxvt-devel/Makefile	2009-07-06 03:56:38.000000000 -0400
@@ -133,6 +133,9 @@
 post-patch:
 	@${PERL} -pi -e 's|(PTYCHAR2\s+"[^"]+)"|\1ghijklmnopqrstuv"|' \
 		${WRKSRC}/src/ptytty.c
+	@${REINPLACE_CMD} -e 's|--mode=compile|& --tag=CC|' \
+		-e 's|--mode=link|& --tag=CC|' \
+		${WRKSRC}/src/Makefile.in
 
 post-install:
 	@${CHMOD} 4711 ${PREFIX}/bin/rxvt


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



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