view src/of-specfun-1-cross-fixes.patch @ 4238:bdcbb82d57e2

pkg-install.py: fail pkg build if configure fails (Bug #49503) * tools/pkg-install.py: check status of configure call and raise exeption on error
author John D
date Thu, 03 Nov 2016 03:48:05 -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 *~