Package: src:cdo
Version: 1.6.4+dfsg.1-4
Severity: important
Tags: sid jessie patch
cdo statically links a bunch of libraries, but doesn't add a Built-Using
attribute.
override_dh_auto_configure:
ln -sf /usr/include/cfortran.h libcdi/src/cfortran.h
./configure --prefix=/usr --libdir=$(LIBDIR) \
--enable-cdi-lib --with-zlib=/usr --with-netcdf=/usr
--with-proj=/usr $(WITH_HDF5) \
--enable-iso-c-interface \
$(WITH_GRIB) $(WITH_JASPER) $(WITH_MAGICS) FC=gfortran \
LIBS="-Wl,-Bstatic -lpng -ljasper -lm -ljpeg -lz -Wl,-Bdynamic
-lcurl" \
LDFLAGS="$(LDFLAGS) $(AS_NEEDED)"
I can't see why this was added at all ... but if you do this, you are required
to document this with an Built-Using attribute? But better link this
dynamically.
fyi, a build without any LIBS set works for me. what is the reason for this?
Also the build fails on some architectures.
patch at
http://launchpadlibrarian.net/184544409/cdo_1.6.4%2Bdfsg.1-4_1.6.4%2Bdfsg.1-4ubuntu1.diff.gz
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]