diff options
Diffstat (limited to 'math/glpk/patches/patch-aa')
-rw-r--r-- | math/glpk/patches/patch-aa | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/math/glpk/patches/patch-aa b/math/glpk/patches/patch-aa new file mode 100644 index 00000000000..50ef647e977 --- /dev/null +++ b/math/glpk/patches/patch-aa @@ -0,0 +1,56 @@ +$NetBSD: patch-aa,v 1.1 2005/03/30 15:23:53 adam Exp $ + +--- src/Makefile.in.orig 2005-01-12 09:00:00.000000000 +0000 ++++ src/Makefile.in +@@ -65,7 +65,7 @@ VERSION = @VERSION@ + + INCLUDES = -I../include + +-lib_LIBRARIES = libglpk.a ++lib_LIBRARIES = libglpk.la + + libglpk_a_SOURCES = glpavl.c glpdmp.c glpiet.c glpinv.c glpios1.c glpios2.c glpios3.c glpipm.c glplib1a.c glplib1b.c glplib2.c glplib3.c glplpp1.c glplpp2.c glplpx1.c glplpx2.c glplpx3.c glplpx4.c glplpx5.c glplpx6a.c glplpx6b.c glplpx6c.c glplpx6d.c glplpx7.c glplpx8a.c glplpx8b.c glplpx8c.c glplpx8d.c glplpx8e.c glpluf.c glpmat.c glpmip1.c glpmip2.c glpmpl1.c glpmpl2.c glpmpl3.c glpmpl4.c glpqmd.c glprng.c glpspx1.c glpspx2.c glpstr.c glptsp.c + +@@ -88,9 +88,9 @@ glpmip2.o glpmpl1.o glpmpl2.o glpmpl3.o + glpspx1.o glpspx2.o glpstr.o glptsp.o + AR = ar + CFLAGS = @CFLAGS@ +-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) ++COMPILE = ${LIBTOOL} --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ++LINK = ${LIBTOOL} --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ + DIST_COMMON = Makefile.am Makefile.in + + +@@ -137,15 +137,7 @@ install-libLIBRARIES: $(lib_LIBRARIES) + $(mkinstalldirs) $(DESTDIR)$(libdir) + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ +- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \ +- $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \ +- else :; fi; \ +- done +- @$(POST_INSTALL) +- @list='$(lib_LIBRARIES)'; for p in $$list; do \ +- if test -f $$p; then \ +- echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ +- $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $$p $(DESTDIR)$(libdir)/$$p; \ + else :; fi; \ + done + +@@ -171,10 +163,9 @@ distclean-compile: + + maintainer-clean-compile: + +-libglpk.a: $(libglpk_a_OBJECTS) $(libglpk_a_DEPENDENCIES) +- -rm -f libglpk.a +- $(AR) cru libglpk.a $(libglpk_a_OBJECTS) $(libglpk_a_LIBADD) +- $(RANLIB) libglpk.a ++libglpk.la: $(libglpk_a_OBJECTS) $(libglpk_a_DEPENDENCIES) ++ ${LIBTOOL} --mode=link ${CC} -o $@ \ ++ ${libglpk_a_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 4:8 + + tags: TAGS + |