openbsd-ports/math/octave/patches/patch-src_Makefile_in
alek cc25439041 Update to 2.1.71
From new maintainer Steven Mestdagh <steven.mestdagh@esat.kuleuven.be>
2005-11-02 18:20:58 +00:00

40 lines
1.5 KiB
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.2 2005/11/02 18:20:58 alek Exp $
--- src/Makefile.in.orig Wed May 18 14:20:54 2005
+++ src/Makefile.in Wed Nov 2 10:32:55 2005
@@ -270,12 +270,8 @@ liboctinterp.$(LIBEXT): $(OBJECTS) $(XER
$(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $^
$(RANLIB) $@
-liboctinterp.$(SHLEXT_VER): liboctinterp.$(SHLEXT)
+liboctinterp.$(SHLEXT_VER): $(PICOBJ) $(PIC_XERBLA)
rm -f $@
- $(LN_S) $< $@
-
-liboctinterp.$(SHLEXT): $(PICOBJ) $(PIC_XERBLA)
- rm -f $@
$(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ $^ $(OCTINTERP_LINK_DEPS)
stamp-oct-links: $(OCT_FILES)
@@ -368,8 +364,7 @@ install-strip:
install-bin:
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
rm -f $(DESTDIR)$(bindir)/octave$(EXEEXT)
- $(INSTALL_PROGRAM) octave$(EXEEXT) $(DESTDIR)$(bindir)/octave-$(version)$(EXEEXT)
- $(LN_S) octave-$(version)$(EXEEXT) $(DESTDIR)$(bindir)/octave$(EXEEXT)
+ $(INSTALL_PROGRAM) octave$(EXEEXT) $(DESTDIR)$(bindir)/octave
.PHONY: install-bin
install-oct:
@@ -393,10 +388,8 @@ install-lib:
fi
if $(SHARED_LIBS); then \
rm -f $(DESTDIR)$(octlibdir)/liboctinterp.$(SHLEXT_VER); \
- $(INSTALL) liboctinterp.$(SHLLIB) \
+ $(INSTALL) liboctinterp.$(SHLLIB_VER) \
$(DESTDIR)$(octlibdir)/liboctinterp.$(SHLLIB_VER); \
- rm -f $(DESTDIR)$(octlibdir)/liboctinterp.$(SHLLIB); \
- $(LN_S) liboctinterp.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/liboctinterp.$(SHLLIB); \
if test x$(SHLBIN) != x ; then \
rm -f $(DESTDIR)$(bindir)/liboctinterp.$(SHLBIN); \
$(INSTALL_PROGRAM) \