view src/of-specfun-1-cross-fixes.patch @ 4408:eb8b37422e16

pkg-install.py: Check for OCTAVE_HOME, then PREFIX.
author John W. Eaton <jwe@octave.org>
date Mon, 10 Jul 2017 13:26:33 -0400
parents bdcddfdc57d0
children
line wrap: on
line source

diff -ur specfun.orig/src/Makefile specfun/src/Makefile
--- specfun.orig/src/Makefile	2015-12-26 20:11:36.382164834 -0500
+++ specfun/src/Makefile	2015-12-26 20:12:17.449868085 -0500
@@ -1,6 +1,8 @@
+MKOCTFILE ?= mkoctfile
+
 all: ellipj.oct
 
 %.oct: %.cc
-	mkoctfile -s $<
+	$(MKOCTFILE) -s $<
 
 clean: ; -rm *.o core octave-core *.oct *~