summaryrefslogtreecommitdiff
path: root/libraries/hdf
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hdf')
-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 96305b0cca..8eae40d665 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