diff options
author | antoine <antoine@FreeBSD.org> | 2013-05-31 02:45:05 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-05-31 02:45:05 +0800 |
commit | 7384d466dde0a791faae004c4347138e1b80e8f3 (patch) | |
tree | 889dc9f84ddaef85aa0927319c0305aadbf29dab /misc/gctpc/Makefile | |
parent | 4233477e3be0135c9492b9f85d951ddc38b107dd (diff) | |
download | freebsd-ports-gnome-7384d466dde0a791faae004c4347138e1b80e8f3.tar.gz freebsd-ports-gnome-7384d466dde0a791faae004c4347138e1b80e8f3.tar.zst freebsd-ports-gnome-7384d466dde0a791faae004c4347138e1b80e8f3.zip |
Unbreak with clang using -Wno-error=return-type (old K&R code)
Approved by: miwi, eadler (mentors, implicit)
Diffstat (limited to 'misc/gctpc/Makefile')
-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 |