core/openssl-cryptodev fix

This commit is contained in:
Kevin Mihelich 2013-02-22 21:43:06 +00:00
parent 1940fb7e97
commit af32647004

View file

@ -23,7 +23,7 @@ depends=('perl')
if [ "${CARCH}" == 'armv7h' ]; then
makedepends=('linux-headers-cubox')
else
makedepends=('linux-headers')
makedepends=('linux-headers-kirkwood')
fi
optdepends=('ca-certificates')
options=('!makeflags')
@ -51,7 +51,7 @@ build() {
if [ "${CARCH}" == 'armv7h' ]; then
_kernel_release="$(pacman -Q linux-headers-cubox | grep -Eo "[^\ ]+$")-ARCH+"
else
_kernel_release="$(uname -r)"
_kernel_release="$(pacman -Q linux-headers-kirkwood | grep -Eo "[^\ ]+$")-ARCH"
fi
# remove rpath: http://bugs.archlinux.org/task/14367