From owner-svn-ports-all@FreeBSD.ORG Thu Dec 27 13:57:57 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4CF49EE; Thu, 27 Dec 2012 13:57:57 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 984608FC17; Thu, 27 Dec 2012 13:57:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRDvvJt090148; Thu, 27 Dec 2012 13:57:57 GMT (envelope-from kuriyama@svn.freebsd.org) Received: (from kuriyama@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBRDvvhb090147; Thu, 27 Dec 2012 13:57:57 GMT (envelope-from kuriyama@svn.freebsd.org) Message-Id: <201212271357.qBRDvvhb090147@svn.freebsd.org> From: Jun Kuriyama Date: Thu, 27 Dec 2012 13:57:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309541 - head/security/gnupg1 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 13:57:57 -0000 Author: kuriyama Date: Thu Dec 27 13:57:57 2012 New Revision: 309541 URL: http://svnweb.freebsd.org/changeset/ports/309541 Log: - Fix build on more recent current. PR: ports/173678 Submitted by: swills Modified: head/security/gnupg1/Makefile Modified: head/security/gnupg1/Makefile ============================================================================== --- head/security/gnupg1/Makefile Thu Dec 27 10:47:27 2012 (r309540) +++ head/security/gnupg1/Makefile Thu Dec 27 13:57:57 2012 (r309541) @@ -19,9 +19,6 @@ GNU_CONFIGURE= YES 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 @@ -39,6 +36,13 @@ OPTIONS= LDAP "LDAP keyserver interface" .include +.if ${CC} == "clang" || ${OSVERSION} >= 1000024 +CFLAGS:= ${CFLAGS:S/$/ -std=c89/} +.if (${ARCH} == "i386") +CFLAGS:= ${CFLAGS:S/$/ -fheinous-gnu-extensions/} +.endif +.endif + .if defined(WITH_LIBICONV) USE_ICONV= yes .else