From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 17 12:10:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5626186 for ; Sat, 17 Nov 2012 12:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC6B8FC12 for ; Sat, 17 Nov 2012 12:10:00 +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 qAHCA0IT089306 for ; Sat, 17 Nov 2012 12:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAHCA0Bx089305; Sat, 17 Nov 2012 12:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 17 Nov 2012 12:10:00 GMT Resent-Message-Id: <201211171210.qAHCA0Bx089305@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, Steve Wills Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D3A8129; Sat, 17 Nov 2012 12:06:23 +0000 (UTC) (envelope-from swills@mouf.net) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id 0701C8FC13; Sat, 17 Nov 2012 12:06:22 +0000 (UTC) Received: from meatwad.mouf.net ([IPv6:2001:470:8:58f:21f:d0ff:feaf:1a4d]) by mouf.net (8.14.5/8.14.5) with ESMTP id qAHC6E4W036300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 17 Nov 2012 07:06:19 -0500 (EST) (envelope-from swills@meatwad.mouf.net) Received: (from swills@localhost) by meatwad.mouf.net (8.14.5/8.14.5/Submit) id qAHC68Ct000134; Sat, 17 Nov 2012 07:06:08 -0500 (EST) (envelope-from swills) Message-Id: <201211171206.qAHC68Ct000134@meatwad.mouf.net> Date: Sat, 17 Nov 2012 07:06:08 -0500 (EST) From: Steve Wills To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173678: [PATCH] security/gnupg: fix build on more recent current Cc: kuriyama@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 12:10:01 -0000 >Number: 173678 >Category: ports >Synopsis: [PATCH] security/gnupg: fix build on more recent current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 17 12:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #12 r242847M: Sun Nov 11 22:13:25 EST >Description: - Fix build after CLANG_IS_CC Port maintainer (kuriyama@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- gnupg-1.4.12.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 307506) +++ Makefile (working copy) @@ -23,9 +23,6 @@ MACHINE_ARCH= i586 .endif CFLAGS:= ${CFLAGS:S/-pipe//g} -.if ${CC} == "clang" -CFLAGS:= ${CFLAGS:S/$/ -std=c89/} -.endif MAN1= gpg.1 gpgv.1 gpg.ru.1 gpg-zip.1 MAN7= gnupg.7 INFO= gnupg1 @@ -43,6 +40,10 @@ .include +.if ${CC} == "clang" || ${OSVERSION} >= 1000024 +CFLAGS:= ${CFLAGS:S/$/ -std=c89/} +.endif + .if defined(WITH_LIBICONV) USE_ICONV= yes .else --- gnupg-1.4.12.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: