openbsd-ports/math/octave/patches/patch-liboctave_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

36 lines
1.0 KiB
Plaintext

$OpenBSD: patch-liboctave_Makefile_in,v 1.1.1.1 2001/07/15 18:07:16 naddy Exp $
--- liboctave/Makefile.in.orig Fri Mar 26 18:24:48 1999
+++ liboctave/Makefile.in Fri Jul 13 00:23:01 2001
@@ -18,8 +18,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
-LIBOCTAVE_LFLAGS = -L../libcruft -L../readline -L../kpathsea \
- -L../glob -L. $(RLD_FLAG)
+LIBOCTAVE_LFLAGS = -L../libcruft -L../kpathsea -L. $(RLD_FLAG)
LIBOCTAVE_LIBS = -lcruft -lreadline -lkpathsea -lglob
@@ -115,13 +114,19 @@ pic:
ifeq ($(SHARED_LIBS), true)
ifeq ($(STATIC_LIBS), true)
- libraries: liboctave.$(LIBEXT)($(OBJECTS)) liboctave.$(SHLEXT)
+ libraries: liboctave.$(LIBEXT) liboctave.$(SHLEXT)
+ liboctave.$(LIBEXT): $(OBJECTS)
+ ar cr $@ $^
+ ranlib $@
else
libraries: liboctave.$(SHLEXT)
endif
else
ifeq ($(STATIC_LIBS), true)
- libraries: liboctave.$(LIBEXT)($(OBJECTS))
+ libraries: liboctave.$(LIBEXT)
+ liboctave.$(LIBEXT): $(OBJECTS)
+ ar cr $@ $^
+ ranlib $@
else
libraries:
endif