summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/ogre/README2
-rw-r--r--libraries/ogre/ogre.SlackBuild6
2 files changed, 6 insertions, 2 deletions
diff --git a/libraries/ogre/README b/libraries/ogre/README
index aa9b86f9ef..651c87caf3 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 277ea64fb4..294590f265 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