1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

. fix build with clang (CFLAGS+=-Wno-return-type);

. trim Makefile headers.
This commit is contained in:
Boris Samorodov 2013-06-13 12:22:48 +00:00
parent 1b569086e7
commit 76867fceaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320791

View File

@ -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