svn commit: r319446 - head/misc/gctpc
Antoine Brodin
antoine at FreeBSD.org
Thu May 30 18:45:06 UTC 2013
Author: antoine
Date: Thu May 30 18:45:05 2013
New Revision: 319446
URL: http://svnweb.freebsd.org/changeset/ports/319446
Log:
Unbreak with clang using -Wno-error=return-type (old K&R code)
Approved by: miwi, eadler (mentors, implicit)
Modified:
head/misc/gctpc/Makefile
Modified: head/misc/gctpc/Makefile
==============================================================================
--- head/misc/gctpc/Makefile Thu May 30 18:41:28 2013 (r319445)
+++ head/misc/gctpc/Makefile Thu May 30 18:45:05 2013 (r319446)
@@ -13,13 +13,12 @@ MAINTAINER= ports at 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
More information about the svn-ports-all
mailing list