$OpenBSD: patch-src_Makefile_in,v 1.3 2011/04/20 15:45:16 shadchin Exp $ --- src/Makefile.in.orig Mon Jan 17 02:39:56 2011 +++ src/Makefile.in Mon Apr 18 21:29:30 2011 @@ -165,6 +165,7 @@ install: for i in build-stamp help.doc TAGS ; do \ $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir); \ done + cp libecl.so $(LSP_LIBRARIES) for i in $(LSP_LIBRARIES) $(LIBRARIES); do \ if test -s $$i ; then \ if echo $$i | grep dll; then \ @@ -173,13 +174,7 @@ install: $(INSTALL_LIBRARY) $$i $(DESTDIR)$(libdir); \ fi \ done - if [ "x@SONAME@" != "x" -a -f "@SONAME@" ]; then \ - ( cd $(DESTDIR)$(libdir) && $(RM) -f @SONAME3@ @SONAME2@ @SONAME1@ && \ - mv @SONAME@ @SONAME3@ && \ - $(LN_S) @SONAME3@ @SONAME2@ && \ - $(LN_S) @SONAME3@ @SONAME1@ && \ - $(LN_S) @SONAME3@ @SONAME@ ) \ - fi + cd $(DESTDIR)$(libdir) && ln -sf $(LSP_LIBRARIES) libecl.so $(INSTALL_PROGRAM) c/dpp$(EXE) $(DESTDIR)$(ecldir) $(INSTALL_PROGRAM) ecl_min$(EXE) $(DESTDIR)$(ecldir) for i in `cat modules`; do \