[packages/smokeping] - add patch
arekm
arekm at pld-linux.org
Fri Mar 15 09:40:13 CET 2019
commit 7ed331a4e07b78e7f0c22b50ee99bfec638f9819
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Mar 15 09:40:03 2019 +0100
- add patch
no-thirdparty.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/no-thirdparty.patch b/no-thirdparty.patch
new file mode 100644
index 0000000..cafbe8f
--- /dev/null
+++ b/no-thirdparty.patch
@@ -0,0 +1,18 @@
+--- smokeping-2.7.3.org/Makefile.am 2018-01-30 20:33:12.000000000 +0100
++++ smokeping-2.7.3/Makefile.am 2019-03-15 09:19:52.679624811 +0100
+@@ -16,14 +16,9 @@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-SUBDIRS = thirdparty doc etc htdocs lib bin
++SUBDIRS = doc etc htdocs lib bin
+
+ EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE PERL_MODULES
+
+-THIRDPARTY_DIR := $(shell pwd)/thirdparty
+-
+ dist-hook:
+ $(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm
+-
+-install-exec-hook:
+- [ ! -d $(THIRDPARTY_DIR)/lib/perl5 ] || $(CP) -fr $(THIRDPARTY_DIR)/lib/perl5/* $(DESTDIR)$(libdir)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/smokeping.git/commitdiff/7ed331a4e07b78e7f0c22b50ee99bfec638f9819
More information about the pld-cvs-commit
mailing list