openbsd-ports/math/octave/patches/patch-src_Makefile_in
naddy bfbe0c1c5b Import of octave-2.0.16; submitted by Sungman Cho <smcho@tsp.korea.ac.kr>.
GNU Octave is a high-level language, primarily intended for numerical
computations.  It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab.  It may also be used as a batch-oriented language.
2001-07-15 18:07:15 +00:00

26 lines
742 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2001/07/15 18:07:15 naddy Exp $
--- src/Makefile.in.orig Thu Nov 4 05:18:25 1999
+++ src/Makefile.in Fri Jul 13 00:23:01 2001
@@ -196,13 +196,19 @@ pic:
ifeq ($(SHARED_LIBS), true)
ifeq ($(STATIC_LIBS), true)
- libraries: liboctinterp.$(LIBEXT)($(OBJECTS)) liboctinterp.$(SHLEXT)
+ libraries: liboctinterp.$(LIBEXT) liboctinterp.$(SHLEXT)
+ liboctinterp.$(LIBEXT): $(OBJECTS)
+ ar cr $@ $^
+ ranlib $@
else
libraries: liboctinterp.$(SHLEXT)
endif
else
ifeq ($(STATIC_LIBS), true)
- libraries: liboctinterp.$(LIBEXT)($(OBJECTS))
+ libraries: liboctinterp.$(LIBEXT)
+ liboctinterp.$(LIBEXT): $(OBJECTS)
+ ar cr $@ $^
+ ranlib $@
else
libraries:
endif