Do not rebuild apcupsd (#4269)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 29 Nov 2008 15:17:40 +0000 (15:17 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 29 Nov 2008 15:17:40 +0000 (15:17 +0000)
SVN-Revision: 13429

net/apcupsd/patches/100-dont_nuke_prepared.patch [new file with mode: 0644]

diff --git a/net/apcupsd/patches/100-dont_nuke_prepared.patch b/net/apcupsd/patches/100-dont_nuke_prepared.patch
new file mode 100644 (file)
index 0000000..4fdabc3
--- /dev/null
@@ -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)