mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on more recent current.
PR: ports/173678 Submitted by: swills
This commit is contained in:
parent
455b893874
commit
7e7a3c8993
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309541
@ -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" off \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user