r71807 - in /trunk/libapache2-mod-perl2/debian: changelog rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Mon Mar 21 09:13:16 UTC 2011


Author: periapt-guest
Date: Mon Mar 21 09:10:25 2011
New Revision: 71807

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71807
Log:
NOTE: I have asked dam for help by email.

Modified:
    trunk/libapache2-mod-perl2/debian/changelog
    trunk/libapache2-mod-perl2/debian/rules

Modified: trunk/libapache2-mod-perl2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/changelog?rev=71807&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/changelog (original)
+++ trunk/libapache2-mod-perl2/debian/changelog Mon Mar 21 09:10:25 2011
@@ -1,4 +1,6 @@
 libapache2-mod-perl2 (2.0.4-8) UNRELEASED; urgency=low
+
+  NOTE: I have asked dam for help by email.
 
   TODO:
   - not yet getting a clean build

Modified: trunk/libapache2-mod-perl2/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache2-mod-perl2/debian/rules?rev=71807&op=diff
==============================================================================
--- trunk/libapache2-mod-perl2/debian/rules (original)
+++ trunk/libapache2-mod-perl2/debian/rules Mon Mar 21 09:10:25 2011
@@ -22,14 +22,19 @@
 endif
 
 ifndef MAKE
-PERL = /usr/bin/make
+MAKE = /usr/bin/make
 endif
 
 %:
 	dh $@
 
 override_dh_auto_configure:
-	$(PERL) Makefile.PL \
+	echo "USER: ${USER}"
+	dh_auto_configure -- \
+	APACHE_TEST_HTTPD=/usr/sbin/apache2 \
+		APACHE_TEST_APXS=/usr/bin/apxs2 \
+	APACHE_TEST_USER=www-data \
+		APACHE_TEST_GROUP=www-data \
 		INSTALLDIRS=vendor \
 		MP_USE_GTOP=1 \
 		MP_TRACE=0 \
@@ -38,17 +43,23 @@
 		MP_CCOPTS="-g -Wall" \
 		MP_INCLUDE_DIR=/usr/include/apache2 \
 		MP_APXS=/usr/bin/apxs2 \
-		MP_INCLUDE_DIR=/usr/include/apr-1.0
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+		MP_INCLUDE_DIR=/usr/include/apr-1.0 
+#	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 
 
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	APACHE_TEST_EXTRA_ARGS="-httpd_conf /etc/apache2/apache2.conf" \
-            LANG=C \
-	    dh_auto_test
-endif
+	APACHE_TEST_HTTPD=/usr/sbin/apache2 \
+		APACHE_TEST_APXS=/usr/bin/apxs2 \
+		MP_USE_GTOP=1 \
+		MP_TRACE=0 \
+		MP_USE_DSO=1 \
+		MP_USE_STATIC=0 \
+		MP_CCOPTS="-g -Wall" \
+		MP_INCLUDE_DIR=/usr/include/apache2 \
+		MP_APXS=/usr/bin/apxs2 \
+		MP_INCLUDE_DIR=/usr/include/apr-1.0 \
+	APACHE_TEST_EXTRA_ARGS="-httpd_conf /etc/apache2/apache2.conf" LANG=C APACHE_TEST_USER=www-data APACHE_TEST_GROUP=www-data dh_auto_test 
 
 override_dh_clean:
 	dh_clean




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