[pkg-boost-commits] r13924 - boost/trunk/debian
Domenico Andreoli
cavok at costa.debian.org
Wed Dec 21 11:31:22 UTC 2005
Author: cavok
Date: 2005-12-21 11:31:21 +0000 (Wed, 21 Dec 2005)
New Revision: 13924
Modified:
boost/trunk/debian/rules
Log:
build with -mlong-calls on hppa. libboost-python own lintian-overrides is now correctly installed in the package.
Modified: boost/trunk/debian/rules
===================================================================
--- boost/trunk/debian/rules 2005-12-20 23:08:26 UTC (rev 13923)
+++ boost/trunk/debian/rules 2005-12-21 11:31:21 UTC (rev 13924)
@@ -38,6 +38,11 @@
#endif
#endif
+CFLAGS=-mlong-calls
+ifneq ($(DEB_BUILD_ARCH), hppa)
+CFLAGS=
+endif
+
exampledir = debian/libboost-doc/usr/share/doc/libboost-doc/examples
htmldir = debian/libboost-doc/usr/share/doc/libboost-doc/HTML
@@ -64,7 +69,7 @@
# Build most of the stuff with jam
cd tools/bcp && ../../$(JAM) -sBUILD="release <define>_REENTRANT <threading>single" bcp
- $(JAM) -sBUILD="debug release <define>_REENTRANT <threading>single/multi"
+ $(JAM) -sBUILD="debug release <cflags>$(CFLAGS) <define>_REENTRANT <threading>single/multi"
#cd libs/graph/build && ../../../$(JAM) -sBUILD="debug release" bgl-viz.a bgl-viz.so
#cd libs/graph/build/python && ../../../../$(JAM)
@@ -288,10 +293,10 @@
debian/tmp/usr/lib/libboost_python$(release_suffix_st).so.$(SOVERSION)
dh_install -plibboost-python$(SOVERSION)$(DEBIAN_SUFFIX) --autodest \
debian/tmp/usr/lib/libboost_python$(release_suffix).so.$(SOVERSION)
- mkdir -p debian/libboost-python$(SOVERSION)/usr/share/lintian/overrides
+ mkdir -p debian/libboost-python$(SOVERSION)${DEBIAN_SUFFIX}/usr/share/lintian/overrides
install -m644 \
- debian/libboost-python$(SOVERSION).lintian-overrides \
- debian/libboost-python$(SOVERSION)/usr/share/lintian/overrides/libboost-python$(SOVERSION)
+ debian/libboost-python$(SOVERSION)${DEBIAN_SUFFIX}.lintian-overrides \
+ debian/libboost-python$(SOVERSION)${DEBIAN_SUFFIX}/usr/share/lintian/overrides/libboost-python$(SOVERSION)${DEBIAN_SUFFIX}
dh_install -plibboost-dbg --autodest \
debian/tmp/usr/lib/libboost_python$(debug_suffix_st).so.$(SOVERSION)
dh_install -plibboost-dbg --autodest \
More information about the pkg-boost-commits
mailing list