=================================================================== RCS file: /cvs/ports/cad/tkgate2/Attic/Makefile,v retrieving revision 1.3 retrieving revision 1.5 diff -u -r1.3 -r1.5 --- ports/cad/tkgate2/Attic/Makefile 2009/10/03 07:44:33 1.3 +++ ports/cad/tkgate2/Attic/Makefile 2010/10/26 04:58:22 1.5 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2009/10/03 06:44:33 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2010/10/26 03:58:22 yason Exp $ COMMENT = Tcl/Tk based digital circuit editor and simulator @@ -25,11 +25,11 @@ LIB_DEPENDS = ${MODTK_LIB_DEPENDS} -USE_X11 = Yes 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