$NetBSD: patch-bh,v 1.1 2002/12/05 18:50:07 drochner Exp $ --- lib/Uil-2.1/Makefile.am.orig Wed May 9 16:41:21 2001 +++ lib/Uil-2.1/Makefile.am @@ -5,7 +5,13 @@ MAINTAINERCLEANFILES=Makefile.in libUil_la_LDFLAGS= -version-info 2:1 +if Version_2_1 +if DefaultVersion21 +libdir = $(exec_prefix)/lib +else libdir = $(exec_prefix)/LessTif/Motif2.1/lib +endif +endif # # Sources in this directory @@ -70,24 +76,4 @@ rm $$i; \ fi ; \ done -endif - -install-data-hook: libUil.la -if Version_2_1 -if LibtoolShared - -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so.2* - (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.so.2* .) -endif -if DefaultVersion21 - -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.la - (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.la .) -if LibtoolShared - -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so - (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.so .) -endif -if LibtoolStatic - -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.a - (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.a .) -endif -endif endif