forked from ports/compat-32
nettle-32: fixed for libgmp and libgmp-32 header changes
This commit is contained in:
parent
02d26fed76
commit
53c23b4894
@ -5,27 +5,19 @@
|
||||
|
||||
name=nettle-32
|
||||
version=2.7.1
|
||||
release=3
|
||||
release=4
|
||||
source=(http://www.lysator.liu.se/~nisse/archive/nettle-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd nettle-$version
|
||||
|
||||
# do not remove this unless you check with
|
||||
# make check and wine iexplore https://...
|
||||
[ "$CC" ] || CC=gcc
|
||||
export CC="$CC -m32"
|
||||
# else it'll fail on /some/ tests and iexplore https
|
||||
# last tested on version 2.7.1
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--with-include-path=/usr/lib32/gmp
|
||||
--libdir=/usr/lib32
|
||||
|
||||
make
|
||||
#make check
|
||||
make check
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/{bin,include}
|
||||
rm -r $PKG/usr/{bin,include,share}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user