Unbreak with clang using -Wno-error=return-type (old K&R code)
Approved by: miwi, eadler (mentors, implicit)
This commit is contained in:
parent
16cd564ef9
commit
f13ece83fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319446
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue