From: Sergey Vlasov <vsu@mivlgu.murom.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] RPM building Date: Tue Jun 26 22:06:01 2001 Message-ID: <20010626162821.35ED4829FB@mail.mivlgu.murom.ru> (raw) In-Reply-To: <20010626201548.2a1fc168.ujo@zuzusoft.com> On Tue, 26 Jun 2001 20:15:48 +0400 "Artem K. Jouravsky" <ujo@zuzusoft.com> wrote: > Здравствуйте, Sergey Vlasov <vsu@mivlgu.murom.ru>! > От Tue, 26 Jun 2001 19:56:08 +0400 вы писали на тему Re: [mdk-re] RPM building: > > SV> > Доброго времени суток! > SV> > Если не очень отвлеку, скажите, корректный ли я использовал > SV> > способ борьбы с нежелающей собираться программой? Может есть > SV> > какие-то другие? Облазил кучу spec'ов, но ничего похожего > SV> > не увидел... > SV> > > SV> > Сразу перед %makeinstall > SV> > perl -pi -e "s|incdir = /usr/include|incdir = > SV> $RPM_BUILD_ROOT/usr/include|" libpeks/Makefile > SV> > SV> Обычно можно обойтись без правки файлов: > SV> > SV> %makeinstall incdir=$RPM_BUILD_ROOT/usr/include > > Нет, там чуть выше былa строчкa > >incdir = @includedir@ Это в Makefile.in, в Makefile @includedir@ заменяется на реальное значение. > а %makeinstall по неизвестным мне причинам болезненно реагировал > именно на includedir. Так посмотрите в /usr/lib/rpm/macros, что представляет из себя %makeinstall. Как раз includedir он устанавливает, а вот incdir он не знает - какое-то нестандартное имя. А значения переменных в командной строке имеют приоритет перед присвоенными через "=" в Makefile - см. info make.
next prev parent reply other threads:[~2001-06-26 22:06 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-26 19:11 Artem K. Jouravsky 2001-06-26 19:45 ` Sergey Vlasov 2001-06-26 20:02 ` Artem K. Jouravsky 2001-06-26 22:06 ` Sergey Vlasov [this message] 2001-06-27 12:20 ` Artem K. Jouravsky 2001-06-27 12:39 ` Mikhail Zabaluev
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=20010626162821.35ED4829FB@mail.mivlgu.murom.ru \ --to=vsu@mivlgu.murom.ru \ --cc=mandrake-russian@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git