pkgsrc/math/octave-current/patches/patch-ac
adam 16f78b177b Changes 2.1.55:
* Generally bug-fixes and enhancement (it's hard to find out by reading NEWS and ChangeLog)
* Uses BUILDLINK3
2004-02-26 16:47:35 +00:00

26 lines
716 B
Text

$NetBSD: patch-ac,v 1.4 2004/02/26 16:47:35 adam Exp $
--- Makeconf.in.orig 2004-02-16 19:57:21.000000000 +0000
+++ Makeconf.in
@@ -71,7 +71,7 @@ SHLBIN = @SHLBIN@
SHLBIN_VER = @SHLBIN_VER@
SHLLINKEXT=
-LIBEXT = a
+LIBEXT = la
# Fortran to C translator and associated flags.
@@ -335,10 +335,10 @@ NO_OCT_FILE_STRIP = @NO_OCT_FILE_STRIP@
# How to make .o files:
%.o : %.c
- $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< -o $@
+ ${LIBTOOL} --mode=compile $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< -o $@
%.o : %.cc
- $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $< -o $@
+ ${LIBTOOL} --mode=compile $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $< -o $@
pic/%.o : %.c
$(CC) -c $(CPPFLAGS) $(CPICFLAG) $(ALL_CFLAGS) $< -o $@