aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/gctpc/Makefile7
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