diff options
Diffstat (limited to 'www/nginx-devel/Makefile')
-rw-r--r-- | www/nginx-devel/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 6227bc7cc9a7..017ebe1251e6 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -18,7 +18,7 @@ CONFLICTS_INSTALL= nginx PORTSCOUT= limit:^1\.2[8-9]\.[0-9]* -USES= cpe +USES= cpe compiler:env CPE_VENDOR= f5 CPE_PRODUCT= nginx @@ -236,8 +236,8 @@ IGNORE= required at least GSSAPI_HEIMDAL or \ 'make config' again .endif -.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1305000 && ${OSVERSION} < 1400000) -CFLAGS+= -Wno-cast-function-type-mismatch +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 191 +CFLAGS+= -Wno-error=cast-function-type-mismatch .endif .if ${PORT_OPTIONS:MPASSENGER} && empty(PORT_OPTIONS:MDEBUG) |