ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] Требуется помощь в сборке dbmail для x86_64
Date: Tue, 19 Dec 2006 22:26:50 +0300
Message-ID: <679044850612191126i6eefd2c1r80c7effe715bd8fa@mail.gmail.com> (raw)
In-Reply-To: <679044850612191039mbd777a2m8af448ff3c3d98a4@mail.gmail.com>

> > Наверняка что-то куда-то не туда складывается :( Не мог бы кто-нибудь с
> > опытом лечения подобных проблем попытаться собрать это у себя?
> Попробую посмотреть.
Апстрим туповат. Вместо того чтобы использовать pkglibdir они
переопределяют libdir, при этом /usr/lib получается прибит гвоздями.

Простое решение "в лоб" - исправления  в спеке.

в вызовы
%make_build
и
%__make DESTDIR=%buildroot install

добавить libdir=%_libdir/%name

то есть
%make_build libdir=%_libdir/%name
и
%__make libdir=%_libdir/%name DESTDIR=%buildroot install

Результат:
Wrote: /usr/src/RPM/SRPMS/dbmail-2.2.1-alt2.src.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-mysql-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-pgsql-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-sqlite-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-ldap-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-sieve-2.2.1-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dbmail-contrib-2.2.1-alt2.x86_64.rpm
35.15user 9.91system 0:49.41elapsed 91%CPU (0avgtext+0avgdata 0maxresident)k

  reply	other threads:[~2006-12-19 19:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19 18:35 Eugene Prokopiev
2006-12-19 18:39 ` Damir Shayhutdinov
2006-12-19 19:26   ` Damir Shayhutdinov [this message]
2006-12-20  6:26     ` Eugene Prokopiev
2006-12-20  6:48       ` Damir Shayhutdinov
2006-12-20  7:00         ` Шенцев Алексей Владимирович
2006-12-21 19:41       ` Damir Shayhutdinov

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=679044850612191126i6eefd2c1r80c7effe715bd8fa@mail.gmail.com \
    --to=damir@altlinux.org \
    --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