On 2014-02-07 05:32 +0100, Daniel Schepler wrote:
> As the subject says: the attached patch allows for bootstrapping ncurses, at
> an early stage of the process when multilib compilers and libraries are not
> yet available.
>
> diff -urN ncurses-5.9+20130608.old/debian/rules
> ncurses-5.9+20130608/debian/rules
> --- ncurses-5.9+20130608.old/debian/rules 2013-06-09 13:29:29.000000000
> -0700
> +++ ncurses-5.9+20130608/debian/rules 2013-06-10 19:10:15.757766650 -0700
> @@ -63,6 +63,16 @@
> debian/libtinfo5.install debian/libtinfo-dev.install \
> debian/libtermcap.so
>
> +ifeq ($(DEB_BUILD_PROFILE),stage1)
DEB_BUILD_PROFILE is not quite the variable exported by
dpkg-buildpackage's -P option, rather it sets DEB_BUILD_PROFILES, and
there can be multiple profiles. So maybe you'd want to use
ifneq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
instead?
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]