~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
include /usr/share/cdbs/1/rules/debhelper.mk
5
5
include /usr/share/cdbs/1/class/autotools.mk
6
6
 
 
7
ifeq ($(DEB_BUILD_ARCH),powerpc)
 
8
CFLAGS += -mlong-double-64
 
9
export CFLAGS
 
10
endif
 
11
 
7
12
DEB_CONFIGURE_EXTRA_FLAGS = --enable-ld-version-script --enable-cxx \
8
13
        --without-lzo --enable-guile \
9
14
        --with-guile-site-dir=/usr/share/guile/site \
10
 
        --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
11
 
        --cache-file=$(CURDIR)/config.cache
 
15
        --cache-file=$(CURDIR)/config.cache --with-libgcrypt \
 
16
        --with-packager=Debian \
 
17
        --with-packager-bug-reports=http://bugs.debian.org/ \
 
18
        --with-packager-version="$(DEB_VERSION)" \
 
19
        --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
12
20
DEB_MAKE_CHECK_TARGET = check
13
 
DEB_DH_MAKESHLIBS_ARGS_libgnutls26 := -V 'libgnutls26 (>=2.9.11-0)'
14
 
DEB_DH_MAKESHLIBS_ARGS_guile-gnutls := -V 'guile-gnutls (>=2.9.11-0)'
 
21
DEB_DH_MAKESHLIBS_ARGS_libgnutls26 := -V 'libgnutls26 (>= 2.12.6.1-0)'
 
22
DEB_DH_MAKESHLIBS_ARGS_guile-gnutls := -V 'guile-gnutls (>= 2.12.6.1-0)'
15
23
DEB_COMPRESS_EXCLUDE := gnutls.pdf
16
24
 
17
 
CFLAGS += -Wall
18
 
CXXFLAGS += -Wall
19
 
 
20
25
# pre-clean rule: save gnutls.pdf since it is expensive to regenerate.
21
26
# See README.source
22
27
cleanbuilddir/gnutls-doc::
51
56
        cd ../.. && \
52
57
        dh_link -pgnutls-doc
53
58
 
54
 
install/libgnutls-dev::
55
 
        find debian/tmp/usr/lib -name "*.la" -exec \
56
 
                sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
57
 
 
 
59
common-install-arch::
 
60
        find debian/tmp/usr/lib/* -name '*.so.*.*' -type f -exec \
 
61
                chrpath -d {} +