From: Wayne Davison Date: Sun, 22 Oct 2006 04:26:59 +0000 (+0000) Subject: Change the unpatch code for NetBSD. X-Git-Tag: v2.6.9pre3~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=590eb6c02d56bd1d0869d26587c540935a4f596e;p=thirdparty%2Frsync.git Change the unpatch code for NetBSD. --- diff --git a/Makefile.in b/Makefile.in index 7eb01400..7d729c16 100644 --- a/Makefile.in +++ b/Makefile.in @@ -100,13 +100,13 @@ man: proto: cd $(srcdir) && $(MAKE) -f prepare-source.mak proto.h -clean: cleantests +unpatch: + [ -f $(srcdir)/acls.c ] && patch -d $(srcdir) -p1 -R <$(srcdir)/patches/acls.diff || true + rm -f $(srcdir)/lib/sysacls.? $(srcdir)/smb_acls.h $(srcdir)/acls.c + rm -f $(srcdir)/*.orig $(srcdir)/*.rej $(srcdir)/*/*.orig $(srcdir)/*/*.rej + +clean: unpatch proto cleantests rm -f *~ $(OBJS) $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS) - cd $(srcdir) - [ -f acls.c ] && patch -p1 -R