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