summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2018-12-29 02:29:16 -0700
committerBrian Bidulock2018-12-29 02:29:16 -0700
commit6538d15768b07e7f5124d4b71c949dfae618e13f (patch)
tree0cad4ec587667407bfa1c4363359cd5cf5a169be /PKGBUILD
parent3ab9289116fa30bdea89c5cb7a3c6631c27797cd (diff)
downloadaur-nx-common.tar.gz
fix build per @aromaparanoia
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a927183ca16..132d485f161 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=nx-common
pkgver=3.5.0
-pkgrel=7
+pkgrel=8
pkgdesc="NoMachine NX common package for client and server"
arch=('i686' 'x86_64')
license=('GPL')
url="http://nomachine.com/"
-depends=('libjpeg-turbo' 'libpng' 'openssl' 'gcc-libs' 'libxcomp')
+depends=('libjpeg-turbo' 'libpng' 'openssl-1.0' 'gcc-libs' 'libxcomp')
makedepends=('xorg-server-devel' 'nx-headers')
source=(ftp://ftp.uni-duisburg.de/X11/NX/sources/$pkgver/nxcompsh-$pkgver-1.tar.gz
ftp://ftp.uni-duisburg.de/X11/NX/sources/$pkgver/nxssh-$pkgver-2.tar.gz
@@ -29,7 +29,7 @@ build() {
# nxssh
cd ${srcdir}/nxssh
sed -i "s:NX.h:nx/NX.h:g" clientloop.c packet.c proxy.c
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-cppflags=-I/usr/include/openssl-1.0 --with-ldflags='-L/usr/lib/openssl-1.0 -lpthread'
make
}