Unbreak with clang using -Wno-error=return-type (old K&R code)

Approved by:	miwi, eadler (mentors, implicit)
This commit is contained in:
Antoine Brodin 2013-05-30 18:45:05 +00:00
parent 16cd564ef9
commit f13ece83fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319446

View file

@ -13,13 +13,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= USGS General Cartographic Transformation Package (GCTP)
WRKSRC= ${WRKDIR}/${PORTNAME}/source
.include <bsd.port.options.mk>
USE_GMAKE= yes
ALL_TARGET= libgctpc.so.1
USE_LDCONFIG= yes
CFLAGS+= -Wno-error=return-type
.include <bsd.port.options.mk>
do-install:
${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${PREFIX}/lib