openbsd-ports/net/csup/patches/patch-Makefile
2010-10-19 20:11:49 +00:00

16 lines
390 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2010/10/19 20:11:49 naddy Exp $
--- Makefile.orig Tue Oct 19 21:20:32 2010
+++ Makefile Tue Oct 19 21:22:24 2010
@@ -39,4 +39,11 @@ LDADD= -lcrypto -lz -lpthread
SCRIPTS= cpasswd.sh
MAN= csup.1 cpasswd.1
+parse.c parse.h: parse.y
+ ${YACC} -d ${.ALLSRC}
+ mv y.tab.c parse.c
+ mv y.tab.h parse.h
+
+CLEANFILES+= parse.c parse.h
+
.include <bsd.prog.mk>