HP/UX installation patch for sane 1.01pre5 (take 2)

Petter Reinholdtsen (pere@hungry.com)
Mon, 19 Apr 1999 12:57:15 +0200

> To get HP/UX frontends to do the required relinking (using libtool
> 1.2f), I had to do the following change.

A typo managed to get into the patch. libsanedir should read libdir.

diff -ru src-pre1.0.1r5/backend/Makefile.in src-pre1.0.1r5-hppa20ux10/backend/Makefile.in
--- src-pre1.0.1r5/backend/Makefile.in Sun Apr 4 01:00:44 1999
+++ src-pre1.0.1r5-hppa20ux10/backend/Makefile.in Mon Apr 19 12:55:36 1999
@@ -101,14 +101,8 @@
$(LN_S) $${lib} $${file}; \
fi; \
done
- rm -f $(libdir)/libsane.a $(libdir)/libsane.so \
- $(libdir)/libsane.so.$(V_MAJOR)*
- $(LN_S) sane/libsane-dll.a $(libdir)/libsane.a
- $(LN_S) sane/libsane-dll.so $(libdir)/libsane.so
- @cd $(libsanedir) && for n in libsane-dll.so.$(V_MAJOR)*; do \
- nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \
- (cd ..; $(LN_S) sane/$$n $$nn); \
- done || exit 1
+ $(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) \
+ libsane.la $(libdir)/libsane.la || exit 1
@list="$(CONFIGS)"; for cfg in $$list; do \
if test ! -r $(srcdir)/$${cfg}; then continue; fi; \
if test -f $(configdir)/$${cfg}; then \

-- 
##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
 O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/    | Go Mozilla, go! Go!

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com