ports/173678: [PATCH] security/gnupg: fix build on more recent current
Steve Wills
swills at FreeBSD.org
Sat Nov 17 12:10:01 UTC 2012
>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 at 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 <bsd.port.pre.mk>
+.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:
More information about the freebsd-ports-bugs
mailing list