diff options
author | Natrio | 2022-11-26 16:42:36 +0300 |
---|---|---|
committer | Natrio | 2022-11-26 16:42:36 +0300 |
commit | cdcee05862aeddfe38100f171237da83689f095f (patch) | |
tree | 94ac3266ea8f8bdc054936d1fd056919471f10a7 | |
parent | c5e1d3e2d6cd5b39f24e6a06b2f5b5dcaf49ea21 (diff) | |
download | aur-cdcee05862aeddfe38100f171237da83689f095f.tar.gz |
Build fix for aarch64
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 4 deletions
@@ -1,13 +1,14 @@ pkgbase = vtun pkgdesc = The easiest way to create Virtual Tunnels over TCP/IP networks with traffic shaping, compression, encryption and IPv6 support. pkgver = 3.0.3.2013.d - pkgrel = 12 + pkgrel = 13 url = http://vtun.sourceforge.net/ install = vtun.install arch = i686 arch = x86_64 arch = armv7h arch = armv6h + arch = aarch64 license = GPL depends = openssl-1.1 depends = zlib @@ -4,9 +4,9 @@ pkgname=vtun pkgver=3.0.3.2013.d _pkgver=3.0.3 -pkgrel=12 +pkgrel=13 pkgdesc="The easiest way to create Virtual Tunnels over TCP/IP networks with traffic shaping, compression, encryption and IPv6 support." -arch=('i686' 'x86_64' 'armv7h' 'armv6h') +arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64') url="http://vtun.sourceforge.net/" license=('GPL') depends=('openssl-1.1' 'zlib' 'lzo') @@ -59,7 +59,7 @@ prepare() { ; do patch -p1 -i "${srcdir}/$p" || exit 1 done - [[ "$CARCH" =~ ^arm ]] && patch -p1 -i "${srcdir}/android-dev.patch" + [[ "$CARCH" =~ ^(arm|aarch) ]] && patch -p1 -i "${srcdir}/android-dev.patch" grep -v setproctitle configure.in > tmp mv tmp configure.in autoreconf -f @@ -70,6 +70,7 @@ build() { export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.1" cd "${srcdir}/${pkgname}-${_pkgver}" ./configure \ + --build=$CHOST \ --with-ssl-headers=/usr/include/openssl-1.1/openssl \ --with-blowfish-headers=/usr/include/openssl-1.1/openssl \ --prefix=/usr \ |