diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2013-05-30 18:45:05 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2013-05-30 18:45:05 +0000 |
commit | f13ece83fe751374573d0a5573244fe78cd22a41 (patch) | |
tree | 889dc9f84ddaef85aa0927319c0305aadbf29dab /misc/gctpc | |
parent | 16cd564ef92980f60fe489d1da4379f53628f2ed (diff) |
Unbreak with clang using -Wno-error=return-type (old K&R code)
Approved by: miwi, eadler (mentors, implicit)
Notes
Notes:
svn path=/head/; revision=319446
Diffstat (limited to 'misc/gctpc')
-rw-r--r-- | misc/gctpc/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile index 7ba37b120f92..bf0d1ef2b7db 100644 --- a/misc/gctpc/Makefile +++ b/misc/gctpc/Makefile @@ -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 |