diff options
Diffstat (limited to 'libraries/hdf')
-rw-r--r-- | libraries/hdf/hdf.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/hdf/hdf.SlackBuild b/libraries/hdf/hdf.SlackBuild index bc14c24243bcf..f06b47a046775 100644 --- a/libraries/hdf/hdf.SlackBuild +++ b/libraries/hdf/hdf.SlackBuild @@ -75,11 +75,16 @@ CPPFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --mandir=/usr/man \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-fortran \ --disable-netcdf \ --disable-static \ --build=$ARCH-slackware-linux +sed -i \ + -e 's:$(prefix)/examples:$(DESTDIR)$(docdir)/examples:' \ + hdf/examples/Makefile mfhdf/examples/Makefile + make make install DESTDIR=$PKG |