From 9ebcc29e15ba02ea7a4eaf7acd74796ed3ea1b4b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 15 Feb 2021 14:47:20 -0500 Subject: libraries/ogre: Fix build if assimp present. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/ogre/ogre.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libraries/ogre/ogre.SlackBuild') diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild index 277ea64fb467..294590f265f9 100644 --- a/libraries/ogre/ogre.SlackBuild +++ b/libraries/ogre/ogre.SlackBuild @@ -24,6 +24,11 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20210215 bkw: modified by SlackBuilds.org: force-disable the assimp +# plugin. Our assimp is too old (or too new?) for this version of +# ogre. This allows ogre to be built on a system where assimp is +# installed. + PRGNAM=ogre VERSION=${VERSION:-1.12.9} IMGUIVER=${IMGUIVER:-1.77} @@ -91,6 +96,7 @@ tar xvf $CWD/imgui-$IMGUIVER.tar.gz -DOGRE_BUILD_DEPENDENCIES=FALSE \ -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \ + -DOGRE_BUILD_PLUGIN_ASSIMP=FALSE \ ../ make make install DESTDIR=$PKG -- cgit v1.2.3