$NetBSD: patch-ab,v 1.2 2001/04/06 21:00:34 jtb Exp $ --- Makefile.in.orig Sat Dec 9 20:27:09 2000 +++ Makefile.in @@ -8,7 +8,7 @@ ################################################################ NETCDFINCDIR = -I@NETCDF_INCDIR@ NETCDFLIB = -l@NETCDF_LIBNAME@ -NETCDFLIBDIR = -L@NETCDF_LIBDIR@ +NETCDFLIBDIR = -Wl,-R@NETCDF_LIBDIR@ -L@NETCDF_LIBDIR@ ################################################################ ## If you DON'T want the udunits support, which will format @@ -33,7 +33,7 @@ ## files will be kept and installed. Comment this line out if ## no such directory will be specified. ##################################################################### -NCVIEW_LIB_DIR = @prefix@/lib/ncview +NCVIEW_LIB_DIR = @prefix@/libdata/ncview ###################################################################### ## If needed, *add* here the names of any additional include or library @@ -133,5 +133,5 @@ @echo "Installing manual in directory $(MANDIR)" @echo "--------------------------------------------------------" if test ! -d $(MANDIR); then mkdir -p $(MANDIR); fi; $(INSTALL) $(INSTMANFLAGS) ncview.1 $(MANDIR)/ncview.1 - /bin/sh ./install-appdef "$(INSTALL) $(INSTMANFLAGS)" + if test ! -d @prefix@/lib/X11/app-defaults; then mkdir -p @prefix@/lib/X11/app-defaults; fi; $(INSTALL) $(INSTDATFLAGS) Ncview @prefix@/lib/X11/app-defaults