mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
openssl pkgbuild fixes
This commit is contained in:
parent
0f84e29dcc
commit
4645c89312
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue