Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2017 18:29:19 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442304 - in head/math/moo: . files
Message-ID:  <201706011829.v51ITJkv070667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706011829.v51ITJkv070667>