blob: 81c48f98c6b4354d7076414ea361430f3d5fe3aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-af,v 1.11 2006/01/06 22:41:48 adam Exp $
--- liboctave/Makefile.in.orig 2005-11-11 20:47:23.000000000 +0100
+++ liboctave/Makefile.in
@@ -225,8 +225,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.9.%=2:%}
liboctave.$(SHLEXT_VER): liboctave.$(SHLEXT)
rm -f $@
@@ -253,9 +254,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); \
|