openbsd-ports/lang/ecl/patches/patch-src_Makefile_in
espie 78870ad865 update to 8.12.0 (new numbering scheme, but >old version)
a few patches to deal with shared libraries.
there is lisp code to deal with recognizing .so, so until someone dives
in and adapts it for OpenBSD, keep a libecl.so...
2009-03-16 11:19:12 +00:00

25 lines
926 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.1 2009/03/16 11:19:12 espie Exp $
--- src/Makefile.in.orig Wed Dec 17 16:41:52 2008
+++ src/Makefile.in Mon Mar 16 11:25:55 2009
@@ -143,18 +143,13 @@ install-base:
for i in BUILD-STAMP help.doc ; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(ecldir); \
done
+ cp libecl.so $(LSP_LIBRARIES)
for i in $(LSP_LIBRARIES) $(LIBRARIES); do \
if test -s $$i ; then \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir); \
fi \
done
- if [ "x@SONAME@" != "x" ]; 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 -s $(LSP_LIBRARIES) libecl.so
for i in c/dpp$(EXE) ecl_min$(EXE) `cat MODULES`; do \
case $$i in \
*.fas) $(INSTALL_PROGRAM) $$i $(DESTDIR)$(ecldir);; \