svn commit: r442304 - in head/math/moo: . files

Steven Kreuzer skreuzer at FreeBSD.org
Thu Jun 1 18:29:20 UTC 2017


Author: skreuzer
Date: Thu Jun  1 18:29:19 2017
New Revision: 442304
URL: https://svnweb.freebsd.org/changeset/ports/442304

Log:
  Define LICENSE
  Change COPTS to CFLAGS in Makefile
  Fix 'Inconsistent operator' error for regress target

Added:
  head/math/moo/files/patch-Makefile   (contents, props changed)
Modified:
  head/math/moo/Makefile

Modified: head/math/moo/Makefile
==============================================================================
--- head/math/moo/Makefile	Thu Jun  1 17:55:27 2017	(r442303)
+++ head/math/moo/Makefile	Thu Jun  1 18:29:19 2017	(r442304)
@@ -8,6 +8,8 @@ CATEGORIES=	math
 MAINTAINER=	skreuzer at FreeBSD.org
 COMMENT=	Calculator that accepts C-like syntax as input
 
+LICENSE=	PD
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	raylai
 GH_TAGNAME=	${PORTVERSION}

Added: head/math/moo/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/moo/files/patch-Makefile	Thu Jun  1 18:29:19 2017	(r442304)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2017-06-01 18:24:01 UTC
++++ Makefile
+@@ -1,14 +1,14 @@
+ PROG=		moo
+ SRCS=		moo.c scan.c
+ CPPFLAGS+=	-I${.CURDIR}
+-COPTS+=		-Wall -W -Wno-unused -Wshadow -pedantic -std=c99
++CFLAGS+=		-Wall -W -Wno-unused -Wshadow -pedantic -std=c99
+ CLEANFILES+=	moo.c y.tab.h scan.c lex.yy.c
+ 
+ LOCALBASE?=/usr/local
+ BINDIR=${LOCALBASE}/bin
+ MANDIR=${LOCALBASE}/man/cat
+ 
+-regress::
++regress:
+ 	cd ${.CURDIR}/regress && ${MAKE} MOO=${.OBJDIR}/moo
+ 
+ .include <bsd.prog.mk>


More information about the svn-ports-head mailing list