ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] BuildConflicts?
Date: Tue, 29 May 2007 17:59:33 +0400
Message-ID: <20070529135933.GE3779@newmaster.mivlgu.local> (raw)
In-Reply-To: <200705291629.08001.icesik@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]

On Tue, May 29, 2007 at 04:29:06PM +0300, Igor Zubkov wrote:
> Оригиналный %configure максов выглядит вот так:
> %_configure_script      ./configure
> %_configure_target      --build=%{_target_platform} --host=%{_target_platform}
> %_configure_gettext     --without-included-gettext
> %configure \
>   CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
>   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
>   FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
>   %{?_disable_static:export lt_cv_prog_cc_static_works=no ;} \
>   %{?_enable_static:export lt_cv_prog_cc_static_works=yes ;} \
>   export lt_cv_deplibs_check_method=pass_all ; \
>   %{?__libtoolize:[ -f configure.ac -o -f configure.in ] 
> && %{__libtoolize} --copy --force ;} \
>   %{_configure_script} %{?_configure_target:%{_configure_target}} \\\
>         --prefix=%{_prefix} \\\
>         --exec-prefix=%{_exec_prefix} \\\
>         --bindir=%{_bindir} \\\
>         --sbindir=%{_sbindir} \\\
>         --sysconfdir=%{_sysconfdir} \\\
>         --datadir=%{_datadir} \\\
>         --includedir=%{_includedir} \\\
>         --libdir=%{_libdir} \\\
>         --libexecdir=%{_libexecdir} \\\
>         --localstatedir=%{_localstatedir} \\\
>         --sharedstatedir=%{_sharedstatedir} \\\
>         --mandir=%{_mandir} \\\
>         --infodir=%{_infodir} \\\
>         --disable-dependency-tracking \\\
>         %{?_configure_gettext:%{_configure_gettext}}
> 
> Т.е. я расскрыл этот макрос и убрал из 
> него --build=%{_target_platform} --host=%{_target_platform}
> 
> Это надо для того что бы не было вот такого:
> checking build system type... Invalid configuration `noarch-alt-linux': 
> machine `noarch-alt' not recognized

А не вынесен ли %_configure_target в отдельный макрос специально для того,
чтобы эту часть можно было переопределить, не трогая остальные части
макроса %configure?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-05-29 13:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 22:20 Alexey Rusakov
2007-05-28 22:28 ` Dmitry V. Levin
2007-05-29 10:06   ` Igor Zubkov
2007-05-29 12:02     ` Alexey Rusakov
2007-05-29 13:29       ` Igor Zubkov
2007-05-29 13:36         ` Led
2007-05-29 18:39           ` Alexey Rusakov
2007-05-29 13:59         ` Sergey Vlasov [this message]
2007-06-10 13:59           ` Igor Zubkov
2007-05-29 13:59         ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070529135933.GE3779@newmaster.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git