freebsd-ports/math/moo/files/patch-Makefile
2017-06-06 21:34:35 +00:00

19 lines
476 B
Text

--- Makefile.orig 2016-06-04 10:05:27 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>