From 66f99382e7fa39f86a8cd5c6dde75570e504fded Mon Sep 17 00:00:00 2001 From: svenschneider <-> Date: Tue, 29 Oct 2013 23:56:53 +0100 Subject: [PATCH] [orocos-rtt] unset ros variables before building and enable testing --- .SRCINFO | 2 +- PKGBUILD | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 88dc0ce8ae31..16a6079b428d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = orocos-rtt pkgdesc = Open Robot Control Software is a tool to create real-time robotics applications using modular, run-time configurable software components (Real-Time Toolkit) pkgver = 2.6.0 - pkgrel = 3 + pkgrel = 4 url = http://www.orocos.org/rtt arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index cffbeafb836b..49b882592bdd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=orocos-rtt _pkgname=orocos-toolchain pkgver=2.6.0 -pkgrel=3 +pkgrel=4 pkgdesc="Open Robot Control Software is a tool to create real-time robotics applications using modular, run-time configurable software components (Real-Time Toolkit)" arch=('i686' 'x86_64') url="http://www.orocos.org/rtt" @@ -37,7 +37,8 @@ build() { # update the cmake configuration file so that it finds the RTT sed 's/set(OROCOS-RTT_FOUND ${OROCOS-RTT_IMPORT_FILE})/set(OROCOS-RTT_FOUND TRUE)/g' -i orocos-rtt-config.cmake - cmake -DCMAKE_INSTALL_PREFIX=/usr . + unset -v ROS_ROOT + cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TESTS=On . make }