aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-05-31 02:45:05 +0800
committerantoine <antoine@FreeBSD.org>2013-05-31 02:45:05 +0800
commit7384d466dde0a791faae004c4347138e1b80e8f3 (patch)
tree889dc9f84ddaef85aa0927319c0305aadbf29dab /misc
parent4233477e3be0135c9492b9f85d951ddc38b107dd (diff)
downloadfreebsd-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')
-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