From 7384d466dde0a791faae004c4347138e1b80e8f3 Mon Sep 17 00:00:00 2001 From: antoine Date: Thu, 30 May 2013 18:45:05 +0000 Subject: Unbreak with clang using -Wno-error=return-type (old K&R code) Approved by: miwi, eadler (mentors, implicit) --- misc/gctpc/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'misc/gctpc/Makefile') 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 - USE_GMAKE= yes ALL_TARGET= libgctpc.so.1 - USE_LDCONFIG= yes +CFLAGS+= -Wno-error=return-type + +.include do-install: ${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${PREFIX}/lib -- cgit