[Build-common-hackers] CDBS and multiple upstream tarballs in one orig tarball

Colin Walters walters@verbum.org
Fri, 09 Apr 2004 00:23:24 -0400


--=-Dcbz8tg4URalaGV1p3fn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-03-25 at 12:53, Michael Koch wrote:

> I got it working with some workaround by moving autotools*.mk into the=20
> deb sources. The main problem was that I could not pass LDFLAGS and=20
> PKG_CONFIG_PATH environment variables to ./configure of my main=20
> upstream sources. LDFLAGS should be handled the same as CFLAGS or=20
> CXXFLAGS. For PKG_CONFIG_PATH I would propose a more general solution=20
> by allowing the following
>=20
> DEB_CONFIGURE_EXTRA_ENV :=3D PKG_CONFIG_PATH=3D"/some/path/".

How is that different from DEB_CONFIGURE_SCRIPT_ENV?

> I built the static libs by this code in debian/rules:
>=20
> include /usr/share/cdbs/1/rules/simple-patchsys.mk
> include /usr/share/cdbs/1/rules/debhelper.mk
> include $(CURDIR)/debian/cdbs/autotools.mk
>=20
> pre-build:: stamp-build-static-libs
>=20
> build-static-libs: stamp-build-static-libs
>=20
> stamp-build-static-libs:
> 	(cd debian/libs/skstream-0.2.5 ; 				\
> 	./configure							\
> 		--host=3D$(DEB_HOST_GNU_TYPE)				\

I'm confused - why can't you use DEB_CONFIGURE_INVOKE here exactly?


--=-Dcbz8tg4URalaGV1p3fn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAdiU8OIkJWWp2WGURAso4AJoCoCJcKkSqLPDJwp2E1EbZPoxamwCeJNvO
A+Ylsik2IpfyJOvvF18FlGs=
=aUqN
-----END PGP SIGNATURE-----

--=-Dcbz8tg4URalaGV1p3fn--