openssl pkgbuild fixes

This commit is contained in:
Kevin Mihelich 2011-09-08 12:22:19 -04:00
parent 0f84e29dcc
commit 4645c89312

View file

@ -2,9 +2,9 @@
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - defined openssltarget for ARM: linux-armv4
# - run ./config instead of ./Configure to auto-detect ARM properly, no 'openssltarget' variable
plugrel=1
plugrel=2
pkgname=openssl
_ver=1.0.0e
@ -34,8 +34,6 @@ PKGEXT='.pkg.tar.gz'
build() {
cd $srcdir/$pkgname-$_ver
openssltarget='linux-armv4'
# avoid conflicts with other man pages
# see http://www.linuxfromscratch.org/patches/downloads/openssl/
patch -p1 -i $srcdir/fix-manpages.patch
@ -44,9 +42,8 @@ build() {
# set ca dir to /etc/ssl by default
patch -p0 -i $srcdir/ca-dir.patch
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
shared zlib enable-md2 \
"${openssltarget}" \
-Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"
make depend