pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave/patches patch-ad added :>



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ad0961f3de4
branches:  trunk
changeset: 491927:0ad0961f3de4
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 01 10:16:24 2005 +0000

description:
patch-ad added :>

diffstat:

 math/octave/patches/patch-ad |  27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diffs (31 lines):

diff -r caca34a86764 -r 0ad0961f3de4 math/octave/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/octave/patches/patch-ad      Fri Apr 01 10:16:24 2005 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ad,v 1.3 2005/04/01 10:16:24 adam Exp $
+
+--- libcruft/Makefile.in.orig  2004-02-16 19:57:21.000000000 +0000
++++ libcruft/Makefile.in
+@@ -98,8 +98,8 @@ libraries: $(SUBDIRS)
+ 
+ libcruft.$(LIBEXT): $(CRUFT_OBJ)
+       rm -f $@
+-      $(AR) $(ARFLAGS) $@ $^
+-      $(RANLIB) $@
++      ${LIBTOOL} --mode=link ${CC} -o libcruft.$(LIBEXT) $(CRUFT_OBJ:.o=.lo) \
++              -rpath ${PREFIX}/lib -version-info ${version:2.1.%=2:%}
+ 
+ libcruft.$(SHLEXT_VER): libcruft.$(SHLEXT)
+       rm -f $@
+@@ -124,9 +124,8 @@ install::
+       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir)
+       if $(STATIC_LIBS); then \
+         rm -f $(DESTDIR)$(octlibdir)/libcruft.$(LIBEXT) ; \
+-        $(INSTALL_DATA) libcruft.$(LIBEXT) \
+-          $(DESTDIR)$(octlibdir)/libcruft.$(LIBEXT) ; \
+-        $(RANLIB) $(DESTDIR)$(octlibdir)/libcruft.$(LIBEXT) ; \
++        ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libcruft.$(LIBEXT) \
++          ${PREFIX}/lib; \
+       fi
+       if $(SHARED_LIBS); then \
+         rm -f $(DESTDIR)$(octlibdir)/libcruft.$(SHLLIB_VER); \



Home | Main Index | Thread Index | Old Index