view src/of-quaternion-1-cross-fixes.patch @ 4037:85abb6c3ec8b

of-netcdf: patch for --enable-64 (Bug #46060) * src/of-netcdf-1-fixes.patch: new file * dist-files.mk: add of-netcdf-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 29 Sep 2015 19:43:19 -0400
parents 2d8b0a2025e4
children
line wrap: on
line source

diff -ur quaternion.orig/src/Makefile quaternion/src/Makefile
--- quaternion.orig/src/Makefile	2015-05-10 07:14:09.000000000 -0400
+++ quaternion/src/Makefile	2015-05-10 07:15:03.000000000 -0400
@@ -1,11 +1,13 @@
+MKOCTFILE ?= mkoctfile
+
 all: is_real_array.oct
 
 # helper
 is_real_array.oct: is_real_array.cc
-	mkoctfile is_real_array.cc
+	$(MKOCTFILE) is_real_array.cc
 
 clean:
 	rm -rf *.o core octave-core *.oct *~
 
 realclean: clean
-	rm -rf *.a
\ No newline at end of file
+	rm -rf *.a