From 036fe924e404d7a46f28cf679f8617c70647d06f Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 29 Nov 2008 15:17:40 +0000 Subject: [PATCH] Do not rebuild apcupsd (#4269) SVN-Revision: 13429 --- net/apcupsd/patches/100-dont_nuke_prepared.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/apcupsd/patches/100-dont_nuke_prepared.patch diff --git a/net/apcupsd/patches/100-dont_nuke_prepared.patch b/net/apcupsd/patches/100-dont_nuke_prepared.patch new file mode 100644 index 000000000..4fdabc3c6 --- /dev/null +++ b/net/apcupsd/patches/100-dont_nuke_prepared.patch @@ -0,0 +1,11 @@ +--- apcupsd-3.14.2/Makefile.in-orig 2008-11-29 00:54:14.000000000 -0800 ++++ apcupsd-3.14.2/Makefile.in 2008-11-29 00:59:59.000000000 -0800 +@@ -372,7 +372,7 @@ + (cd examples; $(MAKE) clean) + + clean: example_clean targetclean +- find . -type f -size 0 -exec $(RMF) {} \; ++ find . -type f -size 0 ! -name '.prepared_*' -exec $(RMF) {} \; + + example_distclean: example_clean + (cd examples; $(MAKE) distclean) -- 2.30.2