summaryrefslogtreecommitdiff
path: root/libraries/ogre/ogre.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-02-15 14:47:20 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-21 00:05:07 +0700
commit9ebcc29e15ba02ea7a4eaf7acd74796ed3ea1b4b (patch)
tree1058ce65f7c461864ac3dca097359034ce2de0be /libraries/ogre/ogre.SlackBuild
parent9b948dd5af9bd63ee1da8e6ba96cd940114f7fca (diff)
downloadslackbuilds-9ebcc29e15ba02ea7a4eaf7acd74796ed3ea1b4b.tar.gz
libraries/ogre: Fix build if assimp present.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ogre/ogre.SlackBuild')
-rw-r--r--libraries/ogre/ogre.SlackBuild6
1 files changed, 6 insertions, 0 deletions
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