[Python-modules-commits] r2919 - /packages/mod-wsgi/trunk/debian/rules
bzed-guest at users.alioth.debian.org
bzed-guest at users.alioth.debian.org
Mon Jul 30 19:48:33 UTC 2007
Author: bzed-guest
Date: Mon Jul 30 19:48:33 2007
New Revision: 2919
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2919
Log:
apxs knows how to compile it in the same way as apache was compiled,
no need to mess with it on our own
Modified:
packages/mod-wsgi/trunk/debian/rules
Modified: packages/mod-wsgi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/rules?rev=2919&op=diff
==============================================================================
--- packages/mod-wsgi/trunk/debian/rules (original)
+++ packages/mod-wsgi/trunk/debian/rules Mon Jul 30 19:48:33 2007
@@ -6,11 +6,6 @@
#export DH_VERBOSE=1
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
# we need dpatch
include /usr/share/dpatch/dpatch.make
@@ -18,22 +13,11 @@
PY_VERSION=$(shell dpkg -s python | grep ^Version | sed 's,Version: \([0-9]\.[0-9]\).*,\1,')
PY_NEXT_VERSION=$(shell echo $(PY_VERSION) | awk '{ print (($$1*10)+1)/10 }')
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
config.status: configure patch
dh_testdir
- ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --with-apxs=$(APXS2) \
- --with-python=/usr/bin/python$(PY_VERSION) \
- CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+ ./configure --with-apxs=$(APXS2) \
+ --with-python=/usr/bin/python$(PY_VERSION)
build: build-stamp
More information about the Python-modules-commits
mailing list