summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Camelo Neves Pereira2018-07-02 11:30:24 +0100
committerGonçalo Camelo Neves Pereira2018-07-02 11:30:24 +0100
commit61c48342399eb42d4d4164b52b3396e8f60c2912 (patch)
treed18bdc32661350cc93d2a8fa7b50656f9a5e4933
parentb038d741193b8414dc762002e91208d3e4865c1f (diff)
downloadaur-61c48342399eb42d4d4164b52b3396e8f60c2912.tar.gz
Solve tcl dependency issue
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 39dc878309c..e497327af1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Sun Mar 4 08:00:40 UTC 2018
pkgbase = linuxcnc-sim
pkgdesc = It can interpret G-code and simulate a CNC machine (formerly EMC2).
pkgver = 2.7.12
@@ -21,6 +19,7 @@ pkgbase = linuxcnc-sim
depends = tclx
depends = boost
depends = boost-libs
+ depends = libtirpc
source = linuxcnc::git://github.com/LinuxCNC/linuxcnc.git#tag=v2.7.12
source = boost.patch
source = image-to-gcode.patch
diff --git a/PKGBUILD b/PKGBUILD
index bb2c2029e75..d3653919e07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="It can interpret G-code and simulate a CNC machine (formerly EMC2)."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://linuxcnc.org/"
-depends=('bc' 'bwidget' 'tcl' 'tk' 'xorg-server' 'python2-imaging' 'tkimg' 'python2-gtkglext' 'tclx' 'boost' 'boost-libs')
+depends=('bc' 'bwidget' 'tcl' 'tk' 'xorg-server' 'python2-imaging' 'tkimg' 'python2-gtkglext' 'tclx' 'boost' 'boost-libs' 'libtirpc')
install=$pkgname.install
_gitname='linuxcnc'
source=($_gitname::"git://github.com/LinuxCNC/linuxcnc.git#tag=v$pkgver" 'boost.patch' 'image-to-gcode.patch' 'linuxcnc-sim.sh')
@@ -38,6 +38,8 @@ build () {
# cd $srcdir/$pkgname-$pkgver
# patch -Np1 < $srcdir/jepler-modsilent.patch
# cd $srcdir/$pkgname-$pkgver/src
+ CPPFLAGS+=" -I/usr/include/tirpc/"
+ LDFLAGS+=" -ltirpc"
./autogen.sh
./configure --with-realtime=uspace --without-libmodbus --prefix=/usr --with-python=/usr/bin/python2.7 --enable-non-distributable=yes
make