Skip to content
Snippets Groups Projects
Commit e4d53e94 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

debian/rules: Minor cleanup (use a single variable for making up our configure flags, not two)

parent 82870c0f
No related branches found
No related tags found
No related merge requests found
tor (0.2.2.7-alpha-2) experimental; urgency=low
* debian/rules: Minor cleanup (use a single variable for making up our
configure flags, not two).
-- Peter Palfrader <weasel@debian.org> Sun, 24 Jan 2010 12:55:21 +0100
tor (0.2.2.7-alpha-1) experimental; urgency=medium
* New upstream version.
......
......@@ -54,14 +54,13 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
CONF_OPTIONS =
# build against libdmalloc4 - it better be installed
# allow building against libdmalloc4 - it better be installed
ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --with-dmalloc
confflags += --with-dmalloc
endif
# allow building with --enable-openbsd-malloc
ifneq (,$(findstring enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
CONF_OPTIONS += --enable-openbsd-malloc
confflags += --enable-openbsd-malloc
endif
configure: patch-stamp
......@@ -79,8 +78,7 @@ config.status: configure
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--localstatedir=/var \
--sysconfdir=/etc \
$(CONF_OPTIONS)
--sysconfdir=/etc
build: build-stamp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment