From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 28 05:50:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 833301065673 for ; Mon, 28 Nov 2011 05:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 462228FC16 for ; Mon, 28 Nov 2011 05:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAS5o9kv060417 for ; Mon, 28 Nov 2011 05:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAS5o9mZ060415; Mon, 28 Nov 2011 05:50:09 GMT (envelope-from gnats) Resent-Date: Mon, 28 Nov 2011 05:50:09 GMT Resent-Message-Id: <201111280550.pAS5o9mZ060415@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A44D106566C for ; Mon, 28 Nov 2011 05:44:07 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id CF1CD8FC0A for ; Mon, 28 Nov 2011 05:44:06 +0000 (UTC) Received: from [31.31.36.246] (port=53917 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RUu0a-0016S8-Nb for FreeBSD-gnats-submit@freebsd.org; Mon, 28 Nov 2011 00:44:05 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RUu0T-000NVS-VK for FreeBSD-gnats-submit@freebsd.org; Mon, 28 Nov 2011 05:44:00 +0000 Message-Id: <1RUu0T-000NVS-VK@internal.tormail.net> Date: Mon, 28 Nov 2011 11:37:04 +0600 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/162913: [patch] lang/rexx-wrapper: respect CC/CFLAGS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 05:50:09 -0000 >Number: 162913 >Category: ports >Synopsis: [patch] lang/rexx-wrapper: respect CC/CFLAGS >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: Mon Nov 28 05:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111126065358.pointyhat-west/rexx-wrapper-2.4.log >Fix: --- cc.diff begins here --- Index: lang/rexx-wrapper/Makefile =================================================================== RCS file: /a/.csup/ports/lang/rexx-wrapper/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- lang/rexx-wrapper/Makefile 22 Aug 2009 00:24:34 -0000 1.4 +++ lang/rexx-wrapper/Makefile 28 Nov 2011 05:35:56 -0000 @@ -23,4 +23,12 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rexx=regina DATADIR= ${PREFIX}/share/rexx${PORTNAME} +post-patch: .SILENT + @${REINPLACE_CMD} -Ee "/^compiler\.unix/s,'.*','${CC:T}'," \ + -e "s,cc\.cc = .*,cc.${CC:T} = '${CC}'," \ + -e "/ opt/s/-[Og][^' ]?//" \ + -e "s,cflags\. = '(.*)',cflags. = '\1 ${CFLAGS}'," \ + ${WRKSRC}/rexxwrap.cmd + @${REINPLACE_CMD} 's/-compiler=$$(CC/&:T/' ${WRKSRC}/Makefile.in + .include --- cc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: