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

24 lines
580 B
Plaintext

$OpenBSD: patch-libcruft_Makefile_in,v 1.1.1.1 2001/07/15 18:07:16 naddy Exp $
--- libcruft/Makefile.in.orig Thu Nov 12 00:27:35 1998
+++ libcruft/Makefile.in Fri Jul 13 00:23:01 2001
@@ -37,7 +37,7 @@ ifeq ($(SHARED_LIBS), true)
BINDISTLIBS = libcruft/libcruft.$(SHLEXT)
endif
-all: $(SUBDIRS) shared-lib
+all: $(SUBDIRS) libcruft.$(LIBEXT) shared-lib
.PHONY: all
$(SUBDIRS):
@@ -76,6 +76,10 @@ endif
libcruft.$(SHLEXT): $(CRUFT_PICOBJ)
$(SH_LD) $(SH_LDFLAGS) -o $@ $^
+
+libcruft.$(LIBEXT): $(CRUFT_OBJ)
+ $(AR) $(ARFLAGS) $@ $^
+ $(RANLIB) $@
$(CRUFT_OBJ):