diff options
Diffstat (limited to 'recipes-core/rxtx/files/uninstall_target.patch')
-rw-r--r-- | recipes-core/rxtx/files/uninstall_target.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/rxtx/files/uninstall_target.patch b/recipes-core/rxtx/files/uninstall_target.patch new file mode 100644 index 0000000..a0e8c55 --- /dev/null +++ b/recipes-core/rxtx/files/uninstall_target.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Description: adds uninstall target to Makefile | ||
2 | Author: Scott Howard <showard@debian.org> | ||
3 | Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646069 | ||
4 | Index: rxtx/Makefile.am | ||
5 | =================================================================== | ||
6 | --- rxtx.orig/Makefile.am 2011-10-31 02:43:21.532963961 -0400 | ||
7 | +++ rxtx/Makefile.am 2011-10-31 02:46:03.348967808 -0400 | ||
8 | @@ -129,6 +129,10 @@ | ||
9 | done` $(RXTX_PATH) | ||
10 | $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/ | ||
11 | |||
12 | +uninstall: | ||
13 | + cd $(RXTX_PATH) && $(RM) librxtx* | ||
14 | + $(RM) $(JHOME)/$(JARTARGET) | ||
15 | + | ||
16 | clean-generic: | ||
17 | rm -rf $(DEST) $(TOP)/$(CLASSTOP) | ||
18 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | ||