package: libapache2-mod-fcgid

SUMMARY:  CFLAGS is getting dropped due to error in debian/rules.

This patch can be applied to debian/rules in version 1.05 to fix CFLAGS getting discarded.

The patch puts CFLAGS inside MAKE_DEFS definition, and moves CFLAGS definition above MAKE_DEFS.

--- rules.orig  2005-11-20 21:50:48.000000000 -0600
+++ rules       2005-11-20 21:51:41.000000000 -0600
@@ -6,12 +6,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

-
-MAKE_DEFS=top_dir=/usr/share/apache2 \
-         APXS=apxs2 APACHECTL=apachectl2 \
-         LIBTOOL=libtool SH_LIBTOOL=libtool \
- INCLUDES="-I$(CURDIR) -I/usr/include/apache2 -I /usr/include/apr-0"
-
CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -19,6 +13,13 @@
else
       CFLAGS += -O2
endif
+
+MAKE_DEFS=top_dir=/usr/share/apache2 \
+         APXS=apxs2 APACHECTL=apachectl2 \
+         LIBTOOL=libtool SH_LIBTOOL=libtool \
+ INCLUDES="-I$(CURDIR) -I/usr/include/apache2 -I /usr/include/apr-0" \
+         CFLAGS="$(CFLAGS)"
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
       INSTALL_PROGRAM += -s
endif



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to