mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
graphics/dspdfviewer - Fixes broken build in 11.3-RELEASE.
Adds conditional to check for 11.3-RELEASE and 12.1-RELEASE since both of them use Clang 8 now. approved by: philip (mentor)
This commit is contained in:
parent
6125ce55f3
commit
3abadb3ab1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516872
@ -3,7 +3,7 @@
|
||||
PORTNAME= dspdfviewer
|
||||
PORTVERSION= 1.15.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 22
|
||||
PORTREVISION= 23
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= fox@FreeBSD.org
|
||||
@ -44,7 +44,7 @@ CFLAGS+= -Wno-error=zero-as-null-pointer-constant
|
||||
.endif
|
||||
|
||||
# Fixes build failure for Clang 8.0.0
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014
|
||||
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300014 || (${OSVERSION} >= 1103000 && ${OSVERSION} < 1200000) || ${OSVERSION} >= 1201000)
|
||||
CFLAGS+= -Wno-error=extra-semi-stmt
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user