summaryrefslogtreecommitdiff
path: root/math/moo/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/moo/files/patch-Makefile')
-rw-r--r--math/moo/files/patch-Makefile19
1 files changed, 19 insertions, 0 deletions
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>