Changeset View
Changeset View
Standalone View
Standalone View
graphics/dspdfviewer/Makefile
Show All 29 Lines | |||||
PLIST_FILES= bin/dspdfviewer \ | PLIST_FILES= bin/dspdfviewer \ | ||||
share/applications/dspdfviewer.desktop \ | share/applications/dspdfviewer.desktop \ | ||||
man/man1/dspdfviewer.1.gz | man/man1/dspdfviewer.1.gz | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# Build fails with LLVM 4.0. Reported upstream as #191: | # Build fails with LLVM 4.0. Reported upstream as #191: | ||||
# https://github.com/dannyedel/dspdfviewer/issues/191 | # https://github.com/dannyedel/dspdfviewer/issues/191 | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100511 | |||||
CFLAGS+= -Wno-error=undefined-func-template | CFLAGS+= -Wno-error=undefined-func-template | ||||
.endif | |||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039 | .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039 | ||||
CFLAGS+= -Wno-error=zero-as-null-pointer-constant | CFLAGS+= -Wno-error=zero-as-null-pointer-constant | ||||
.endif | .endif | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1102000 | |||||
CFLAGS+= -Wno-error=redundant-parens | CFLAGS+= -Wno-error=redundant-parens | ||||
.endif | |||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |