Date: Thu, 13 Jun 2013 12:22:48 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320791 - head/math/physcalc Message-ID: <201306131222.r5DCMmue044810@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@technologist.com> -# +# Created by: Will Andrews <andrews@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@void main@int main@g" ${WRKSRC}/physmain.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306131222.r5DCMmue044810>