. fix build with clang (CFLAGS+=-Wno-return-type);
. trim Makefile headers.
This commit is contained in:
parent
1b569086e7
commit
76867fceaa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320791
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue