04e712e910
add a few missing LIB_DEPENDS
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
$OpenBSD: patch-liboctave_Makefile_in,v 1.5 2007/07/28 07:09:19 steven Exp $
|
|
--- liboctave/Makefile.in.orig Wed Jul 25 17:45:05 2007
|
|
+++ liboctave/Makefile.in Thu Jul 26 11:19:49 2007
|
|
@@ -221,6 +221,9 @@ stamp-prereq: $(OPTS_INC) $(VX_OP_INC) $(VX_OP_SRC) \
|
|
$(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC)
|
|
touch stamp-prereq
|
|
|
|
+SHLLIB_VER=$(SHLEXT).$(LIBoctave_VERSION)
|
|
+SHLEXT_VER=$(SHLLIB_VER)
|
|
+
|
|
ifeq ($(SHARED_LIBS), true)
|
|
ifeq ($(STATIC_LIBS), true)
|
|
libraries: \
|
|
@@ -247,12 +250,8 @@ $(LIBPRE)octave.$(LIBEXT): $(LIBOCTAVE_OBJECTS)
|
|
$(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $(LIBOCTAVE_OBJECTS)
|
|
$(RANLIB) $@
|
|
|
|
-$(LIBPRE)octave.$(SHLEXT_VER): $(LIBPRE)octave.$(SHLEXT)
|
|
+$(LIBPRE)octave.$(SHLEXT_VER): $(LIBOCTAVE_PICOBJ)
|
|
rm -f $@
|
|
- $(LN_S) $< $@
|
|
-
|
|
-$(LIBPRE)octave.$(SHLEXT): $(LIBOCTAVE_PICOBJ)
|
|
- rm -f $@
|
|
$(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ \
|
|
$(LIBOCTAVE_PICOBJ) $(LINK_DEPS)
|
|
|
|
@@ -279,9 +278,7 @@ install-lib:
|
|
if $(SHARED_LIBS); then \
|
|
rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(SHLLIB_VER); \
|
|
$(INSTALL) \
|
|
- $(LIBPRE)octave.$(SHLLIB) $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(SHLLIB_VER); \
|
|
- rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(SHLLIB); \
|
|
- (cd $(DESTDIR)$(octlibdir) ; $(LN_S) $(LIBPRE)octave.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(SHLLIB)); \
|
|
+ $(LIBPRE)octave.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(SHLLIB_VER); \
|
|
if test x$(SHLBIN) != x ; then \
|
|
rm -f $(DESTDIR)$(bindir)/$(LIBPRE)octave.$(SHLBIN); \
|
|
$(INSTALL_PROGRAM) \
|