[libnet-dbus-perl] 05/335: Fixes

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:07:09 UTC 2015


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

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 2903f6ee64de772b4657d4e02049c188046505f9
Author: Daniel P. Berrange <dan at berrange.com>
Date:   Mon Aug 9 21:59:16 2004 +0000

    Fixes
---
 Makefile.PL | 18 +++++++++---------
 README      |  4 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index c80de1e..05bd2a3 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -8,16 +8,16 @@ $DBUS_HOME="/usr";
 #$DBUS_HOME="/usr/local/dbus-0.21";
 #$DBUS_HOME="/opt/dbus-0.21";
 
-$DEBUG="";
-#$DEBUG="-DPD_DO_DEBUG";
+$PD_DEBUG="";
+#$PD_DEBUG="-DPD_DO_DEBUG";
 
 foreach (@ARGV) {
     if (/^DBUS_HOME=(.*)$/) {
 	$DBUS_HOME = $1;
-    } elsif (/^DEBUG=0$/) {
-	$DEBUG = "";
-    } elsif (/^DEBUG=1$/) {
-	$DEBUG = "-PPD_DO_DEBUG";
+    } elsif (/^DBUS_DEBUG=0$/) {
+	$PD_DEBUG = "";
+    } elsif (/^DBUS_DEBUG=1$/) {
+	$PD_DEBUG = "-PPD_DO_DEBUG";
     }
 }
 
@@ -30,9 +30,9 @@ WriteMakefile(
     },
     'ABSTRACT_FROM' => 'lib/DBus.pm',
     'AUTHOR' => 'Daniel Berrange <dan at berrange.com>',
-    'LIBS' => ['-L$DBUS_HOME/lib -ldbus-1'], 
-    'DEFINE' => '-DDBUS_API_SUBJECT_TO_CHANGE $DEBUG',
-    'INC' => '-I$DBUS_HOME/include/dbus-1.0 -I$DBUS_HOME/lib/dbus-1.0/include',
+    'LIBS' => ["-L$DBUS_HOME/lib -ldbus-1"], 
+    'DEFINE' => "-DDBUS_API_SUBJECT_TO_CHANGE $PD_DEBUG",
+    'INC' => "-I$DBUS_HOME/include/dbus-1.0 -I$DBUS_HOME/lib/dbus-1.0/include",
 );
 
 package MY;
diff --git a/README b/README
index d56a7be..c36fa25 100644
--- a/README
+++ b/README
@@ -36,9 +36,9 @@ The XS layer has the capability to output information
 about its operation on STDERR during normal operation.
 Due to its performance hit, this capability must be
 enabled when initially compiling the DBus module by
-specifying the 'DEBUG=1' parameter:
+specifying the 'PD_DEBUG=1' parameter:
 
-  perl Makefile.PL DEBUG=1
+  perl Makefile.PL PD_DEBUG=1
 
 In addition, when running a program the environment
 variable PD_DEBUG must be set (to any value).

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git



More information about the Pkg-perl-cvs-commits mailing list