diff options
author | Michael Spradling | 2017-08-29 14:42:27 -0400 |
---|---|---|
committer | Michael Spradling | 2017-08-29 14:42:27 -0400 |
commit | 9d7cb59fe37844a175217aabcb7c2618b3400fb2 (patch) | |
tree | 8571c173952f7e067081fcd183962462740f1002 /PKGBUILD.common | |
parent | 0cc4a6b2bd7cbbd940a313f2938b829b62bbe820 (diff) | |
download | aur-9d7cb59fe37844a175217aabcb7c2618b3400fb2.tar.gz |
Add openssl 1.0 support
Diffstat (limited to 'PKGBUILD.common')
-rw-r--r-- | PKGBUILD.common | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD.common b/PKGBUILD.common index 02c164115574..ab04645732f9 100644 --- a/PKGBUILD.common +++ b/PKGBUILD.common @@ -3,14 +3,14 @@ pkgver=16.2.6 _pkgver=16.2.6 -pkgrel=1 +pkgrel=2 arch=(i686 x86_64) groups=('bareos') pkgdesc="Bareos - Backup Archiving REcovery Open Sourced" url="http://www.bareos.org" license=('AGPL3') makedepends=('sqlite3' 'libmariadbclient' 'postgresql-libs' 'lzo' 'acl' 'libcap' 'python2' 'python') -optdepends=('openssl: network encryption between daemons') +optdepends=('openssl-1.0: network encryption between daemons') _instdir="${startdir}/install" _pkgsrc="${startdir}/src/bareos" @@ -65,6 +65,10 @@ prepare() { } build() { + # bug: openssl 1.0 isue + export CFLAGS="${CFLAGS} -L /usr/include/openssl-1.0" + export LIBS="${LIBS} -I /usr/include/openssl-1.0" + pushd "${_pkgsrc}" &> /dev/null QMAKE="/usr/bin/qmake-qt4" DISTNAME="debian" ./configure $_configure_args make DESTDIR="$_instdir" install |