diff options
-rw-r--r-- | math/moo/Makefile | 2 | ||||
-rw-r--r-- | math/moo/files/patch-Makefile | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/math/moo/Makefile b/math/moo/Makefile index 3902ad3187b2..8da7f1b2f7ba 100644 --- a/math/moo/Makefile +++ b/math/moo/Makefile @@ -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} diff --git a/math/moo/files/patch-Makefile b/math/moo/files/patch-Makefile new file mode 100644 index 000000000000..82a526073e7e --- /dev/null +++ b/math/moo/files/patch-Makefile @@ -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> |