=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ports/cad/tkgate2/Attic/Makefile 2009/10/03 07:44:33 1.3 +++ ports/cad/tkgate2/Attic/Makefile 2009/10/13 14:02:19 1.4 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2009/10/03 06:44:33 yason Exp $ +# $OpenBSD: Makefile,v 1.4 2009/10/13 13:02:19 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator @@ -29,7 +29,8 @@ CONFIGURE_STYLE = gnu pre-patch: - @find ${WRKSRC} -name *.orig -exec rm {} \; - @find ${WRKSRC} -name *.*~ -exec rm {} \; +.for i in *.orig* *.bak* *.old *~ + @find ${WRKSRC} -name $i -exec rm {} \; +.endfor .include