[Pkg-citadel-commit] r243 - libcitadel/trunk/debian
dothebart-guest at alioth.debian.org
dothebart-guest at alioth.debian.org
Sun Mar 1 20:55:08 UTC 2009
Author: dothebart-guest
Date: 2009-03-01 20:55:08 +0000 (Sun, 01 Mar 2009)
New Revision: 243
Modified:
libcitadel/trunk/debian/control
libcitadel/trunk/debian/rules
Log:
+ add zlib1g-dev dependency
+ add several configure flags from upstream for backtrace enabled source
* remove a last libcitadel1 remaint
Modified: libcitadel/trunk/debian/control
===================================================================
--- libcitadel/trunk/debian/control 2009-03-01 20:01:13 UTC (rev 242)
+++ libcitadel/trunk/debian/control 2009-03-01 20:55:08 UTC (rev 243)
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Debian Citadel Team <pkg-citadel-devel at lists.alioth.debian.org>
Uploaders: Wilfried Goesgens <w.goesgens at outgesourced.org>, Michael Meskes <meskes at debian.org>, Alexander Wirt <formorer at debian.org>
-Build-Depends: debhelper (>= 5), quilt (>= 0.40)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), zlib1g-dev
Standards-Version: 3.8.0
Homepage: http://citadel.org
@@ -17,7 +17,7 @@
Section: libdevel
Architecture: any
Depends: ${shlibs:Depends}, libcitadel2 (= ${binary:Version})
-Description: Debugging symbols for libcitadel1
+Description: Debugging symbols for libcitadel2
This library contains the commonly used routines for the citadel suite.
.
This package provides the debugging symbols.
Modified: libcitadel/trunk/debian/rules
===================================================================
--- libcitadel/trunk/debian/rules 2009-03-01 20:01:13 UTC (rev 242)
+++ libcitadel/trunk/debian/rules 2009-03-01 20:55:08 UTC (rev 243)
@@ -10,19 +10,25 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
-
+LDFALGS =
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0 -ggdb -rdynamic -MD -MP
+ CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D DEBUG -D VALGRIND
+ EXTRA_ARGS = --with-backtrace
else
CFLAGS += -O2
endif
+ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -pg
+ LDFLAGS += -pg
+endif
+
configure: patch configure-stamp
configure-stamp:
dh_testdir
-
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ CFLAGS="$(CFLAGS)"; LDFLAGS="$(LDFLAGS)"; ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ $(EXTRA_ARGS) \
--prefix=/usr
touch configure-stamp
More information about the Pkg-citadel-commit
mailing list