[pktools] 04/06: Changes to avoid symbol collisions.

Francesco Lovergine frankie at moszumanska.debian.org
Thu Mar 13 11:32:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

frankie pushed a commit to branch master
in repository pktools.

commit c583f09687c87fa1e3a0649c9d05e3a7f6c7c389
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date:   Wed Mar 12 14:04:14 2014 +0100

    Changes to avoid symbol collisions.
---
 debian/patches/config.h.in | 37 +++++++++++++++++++++++++++++++++++++
 debian/rules               |  8 +++++++-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/debian/patches/config.h.in b/debian/patches/config.h.in
new file mode 100644
index 0000000..91bd6e1
--- /dev/null
+++ b/debian/patches/config.h.in
@@ -0,0 +1,37 @@
+Index: pktools/config.h.in
+===================================================================
+--- pktools.orig/config.h.in	2013-12-20 14:36:34.000000000 +0100
++++ pktools/config.h.in	2013-12-20 14:37:29.000000000 +0100
+@@ -50,25 +50,25 @@
+ #undef LT_OBJDIR
+ 
+ /* Name of package */
+-#undef PACKAGE
++#undef PK_PACKAGE
+ 
+ /* Define to the address where bug reports for this package should be sent. */
+-#undef PACKAGE_BUGREPORT
++#undef PK_PACKAGE_BUGREPORT
+ 
+ /* Define to the full name of this package. */
+-#undef PACKAGE_NAME
++#undef PK_PACKAGE_NAME
+ 
+ /* Define to the full name and version of this package. */
+-#undef PACKAGE_STRING
++#undef PK_PACKAGE_STRING
+ 
+ /* Define to the one symbol short name of this package. */
+-#undef PACKAGE_TARNAME
++#undef PK_PACKAGE_TARNAME
+ 
+ /* Define to the home page for this package. */
+-#undef PACKAGE_URL
++#undef PK_PACKAGE_URL
+ 
+ /* Define to the version of this package. */
+-#undef PACKAGE_VERSION
++#undef PK_PACKAGE_VERSION
+ 
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
diff --git a/debian/rules b/debian/rules
index d726273..70b1a63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,13 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@  --with autotools-dev
+	dh $@  --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-fann --enable-las --enable-nlopt
+
+override_dh_clean:
+	dh_clean
+	find $(CURDIR) -name '*.o' -delete
+	find $(CURDIR) -name '*.so*' -delete
+	find $(CURDIR) -name '*.a' -delete

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list