[magics] 07/23: WIP: disable static libs for the moment
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Jun 24 09:33:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository magics.
commit 498ff688ebe09f6501207c1b16fc198a9966182a
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Sat May 16 08:04:14 2015 +0100
WIP: disable static libs for the moment
---
debian/rules | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/debian/rules b/debian/rules
index b09463e..c74d964 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,13 +18,8 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_clean:
find . -type l -exec rm {} \;
- find . \( -name '*.pyc' -o -name '*.o' -o -name '*.a' \) -exec rm {} \;
- find . -name '.libs' -exec rm -rf {} \; || echo ".libs deleted already."
- find test \( -name '*.ps' -o -name '*.pdf' -o -name '*.svg' -o -name '*.png' \
- -o -name '*.kmz' \) -exec rm {} \;
- rm -f config.log
rm -rf share/magics/ttf src/terralib
- $(MAKE) -k distclean || echo "Already distcleaned"
+ dh_auto_clean
override_dh_auto_configure:
# link for font for tesing.
@@ -37,13 +32,16 @@ override_dh_auto_configure:
# autoreconf -if
dh_auto_configure -- \
-DENABLE_METVIEW=ON \
- -DENABLE_STATIC_LIBRARY=ON \
-DENABLE_CAIRO=ON -DENABLE_GEOTIFF=ON \
-DENABLE_BUFR=ON \
-DMAGICS_SITE='debian' \
- -DENABLE_PYTHON=ON \
- LDFLAGS="$(LDFLAGS) -L$(shell pwd)/src/.libs -Wl,--as-needed" LIBS=" -lX11 -lpng12 -lz" \
- MAGPLUS_HOME=$(shell pwd)
+ -DENABLE_PYTHON=ON
+
+# FIXME: Temporarily disable static libs
+ #-DENABLE_STATIC_LIBRARY=ON \
+
+# LDFLAGS="$(LDFLAGS) -L$(shell pwd)/src/.libs -Wl,--as-needed" LIBS=" -lX11 -lpng12 -lz" \
+# MAGPLUS_HOME=$(shell pwd)
override_dh_auto_test check:
echo "Tests disabled; see README-testfailures.txt for details"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/magics.git
More information about the debian-science-commits
mailing list