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/README | 2 -- libraries/ogre/ogre.SlackBuild | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'libraries') diff --git a/libraries/ogre/README b/libraries/ogre/README index aa9b86f9efc81..651c87caf3b50 100644 --- a/libraries/ogre/README +++ b/libraries/ogre/README @@ -35,5 +35,3 @@ zziplib, FreeImage, tbb, cppunit, ois, nvidia-cg-toolkit Optional dependencies NOT (yet) available at SlackBuilds.org: opengles, POCO - -NOTE: This will not build if assimp is installed. diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild index 277ea64fb467c..294590f265f9a 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