aboutsummaryrefslogtreecommitdiff
path: root/graphics/brlcad/brlcad.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-14 12:29:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-16 01:33:35 +0700
commit053714cbb4243db2b0586af7a8251301c3fd1320 (patch)
treee99fe697062f272cb0ba17269872857327e31d34 /graphics/brlcad/brlcad.SlackBuild
parentb6b40e28a7540e1b9cc72f352315eab12483ef5e (diff)
graphics/brlcad: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r--graphics/brlcad/brlcad.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index ee9d644e1bd6..5ac7fdf83544 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -60,10 +60,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p0 < $CWD/brlcad.patch
mkdir -p build
cd build
# There is a "known issue" according to the guys on #brlcad and we need
# the cmake define "-DBRLCAD_ENABLE_STRICT=OFF" for now
+LDFLAGS="-lpng16" \
cmake \
-DBRLCAD_FLAGS_OPTIMIZATION=ON \
-DBRLCAD_ENABLE_STRICT=OFF \
@@ -85,7 +87,7 @@ cmake \
-DBRLCAD_LIBVDS=BUNDLED \
-DBRLCAD_OPENNURBS=BUNDLED \
-DBRLCAD_PERPLEX=BUNDLED \
- -DBRLCAD_PNG=BUNDLED \
+ -DBRLCAD_PNG=OFF \
-DBRLCAD_RE2C=BUNDLED \
-DBRLCAD_SCL=BUNDLED \
-DBRLCAD_TKHTML=BUNDLED \