svn commit: r320791 - head/math/physcalc

Boris Samorodov bsam at FreeBSD.org
Thu Jun 13 12:22:48 UTC 2013


Author: bsam
Date: Thu Jun 13 12:22:48 2013
New Revision: 320791
URL: http://svnweb.freebsd.org/changeset/ports/320791

Log:
  . fix build with clang (CFLAGS+=-Wno-return-type);
  . trim Makefile headers.

Modified:
  head/math/physcalc/Makefile

Modified: head/math/physcalc/Makefile
==============================================================================
--- head/math/physcalc/Makefile	Thu Jun 13 12:12:26 2013	(r320790)
+++ head/math/physcalc/Makefile	Thu Jun 13 12:22:48 2013	(r320791)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	physcalc
-# Date created:				Sun 27 Aug 2000
-# Whom:					Will Andrews <andrews at technologist.com>
-#
+# Created by: Will Andrews <andrews at technologist.com>
 # $FreeBSD$
-#
 
 PORTNAME=	physcalc
 PORTVERSION=	2.4
@@ -24,6 +20,7 @@ USE_ZIP=	yes
 DEFS=		-DSHAREDIR="\"${PREFIX}/share/physcalc/\""
 SRCS=		physconv.c physmain.c physmlib.c physnode.c physoper.c \
 		physsolv.c
+CFLAGS+=	-Wno-return-type
 
 pre-build:
 	${REINPLACE_CMD} -e "s at void main at int main at g" ${WRKSRC}/physmain.c


More information about the svn-ports-all mailing list