From owner-svn-ports-all@FreeBSD.ORG Thu Jun 13 12:22:48 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C65DCB56; Thu, 13 Jun 2013 12:22:48 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B8CFB1A0A; Thu, 13 Jun 2013 12:22:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5DCMmna044811; Thu, 13 Jun 2013 12:22:48 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5DCMmue044810; Thu, 13 Jun 2013 12:22:48 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201306131222.r5DCMmue044810@svn.freebsd.org> From: Boris Samorodov Date: Thu, 13 Jun 2013 12:22:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320791 - head/math/physcalc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 12:22:48 -0000 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 -# +# Created by: Will Andrews # $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