On 17 November 2014 03:11, Predrag Ivanovic <predivan@open.telekom.rs> wrote:
On Sun, 16 Nov 2014 23:29:26 +0000 Wawrzek Niewodniczanski wrote:
It might be ;). I can use linux-pam Pkgfile with lib path change to lib32, can't I?
Touch .32bit in port dir, so pkgmk will build it as 32bit, and changing lib to lib32 should, in theory, do it. But, it doesn't compile. [...] =======> ERROR: Building '/usr/pkgmk/package/linux-pam#1.1.8-2.pkg.tar.gz' failed.
Which is a problem PAM build has with flex, it seems, according to this https://bugs.launchpad.net/gentoo-pandora-toolbox/+bug/297265 There are few workarounds there, as well.
What do you think about providing 32bit flex? I did it and linux-pam (32bit) looks build OK, however I'm not sure if it's have any implications. Thanks, Wawrzek PS. That what I did with flex. name=flex-32 sname=flex version=2.5.39 release=1 source=(http://downloads.sourceforge.net/project/$sname/$sname-$version.tar.xz) build() { cd $sname-$version ./configure --prefix=/usr \ --libdir=/usr/lib32 \ --mandir=/usr/man \ --disable-nls make make DESTDIR=$PKG install rm -r $PKG/usr/{bin,include,man} rm -r $PKG/usr/share/{info,doc} rmdir $PKG/usr/share } -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124