From 0d4e8bc3f8e08d4d2c1ad2c3d3a15412c777d203 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Fri, 12 Aug 2016 22:52:21 -0700 Subject: libraries/hdf: Fixes to build script. Signed-off-by: Benjamin Trigona-Harany --- libraries/hdf/hdf.SlackBuild | 5 +++-- 1 file 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 -- cgit v1.2.3