aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-08-12 22:52:21 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-14 09:14:08 +0700
commit0d4e8bc3f8e08d4d2c1ad2c3d3a15412c777d203 (patch)
tree99d61f7b15e37b8cea3f196b38a941c6e19f66e4 /libraries
parentc23710293aeaf928ae3822e54ddcc51704488b00 (diff)
libraries/hdf: Fixes to build script.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/hdf/hdf.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/hdf/hdf.SlackBuild b/libraries/hdf/hdf.SlackBuild
index 96305b0cca61..8eae40d66550 100644
--- a/libraries/hdf/hdf.SlackBuild
+++ b/libraries/hdf/hdf.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=hdf
VERSION=${VERSION:-4.2.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,10 +79,11 @@ CPPFLAGS="$SLKCFLAGS" \
--disable-fortran \
--disable-netcdf \
--disable-static \
+ --enable-shared \
--build=$ARCH-slackware-linux
sed -i \
- -e 's:$(prefix)/examples:$(DESTDIR)$(docdir)/examples:' \
+ -e 's:$(prefix)/examples:$(docdir)/examples:' \
hdf/examples/Makefile mfhdf/examples/Makefile
make