5a0b47979a
* use glpk * improvements
27 lines
970 B
Text
27 lines
970 B
Text
$NetBSD: patch-ad,v 1.6 2005/04/01 10:15:19 adam Exp $
|
|
|
|
--- libcruft/Makefile.in.orig 2005-03-09 15:22:58.000000000 +0000
|
|
+++ libcruft/Makefile.in
|
|
@@ -93,8 +93,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.9.%=2:%}
|
|
|
|
libcruft.$(SHLEXT_VER): libcruft.$(SHLEXT)
|
|
rm -f $@
|
|
@@ -119,9 +119,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); \
|