1fdfffb0f2
* Bug fixes
28 lines
1 KiB
Text
28 lines
1 KiB
Text
$NetBSD: patch-af,v 1.3 2005/04/01 10:15:47 adam Exp $
|
|
|
|
--- liboctave/Makefile.in.orig 2004-11-12 05:34:57.000000000 +0000
|
|
+++ liboctave/Makefile.in
|
|
@@ -208,8 +208,9 @@ endif
|
|
|
|
liboctave.$(LIBEXT): $(LIBOCTAVE_OBJECTS)
|
|
rm -f $@
|
|
- $(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $(LIBOCTAVE_OBJECTS)
|
|
- $(RANLIB) $@
|
|
+ ${LIBTOOL} --mode=link ${CC} -o liboctave.$(LIBEXT) \
|
|
+ $(LIBOCTAVE_OBJECTS:.o=.lo) -rpath ${PREFIX}/lib \
|
|
+ -version-info ${version:2.1.%=2:%}
|
|
|
|
liboctave.$(SHLEXT_VER): liboctave.$(SHLEXT)
|
|
rm -f $@
|
|
@@ -236,9 +237,8 @@ install-lib:
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir)
|
|
if $(STATIC_LIBS); then \
|
|
rm -f $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
|
|
- $(INSTALL_DATA) liboctave.$(LIBEXT) \
|
|
- $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
|
|
- $(RANLIB) $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
|
|
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} liboctave.$(LIBEXT) \
|
|
+ ${PREFIX}/lib; \
|
|
fi
|
|
if $(SHARED_LIBS); then \
|
|
rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER); \
|