summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/taucs/Makefile5
-rw-r--r--math/taucs/files/extra-patch-build-FreeBSD-makefile11
2 files changed, 13 insertions, 3 deletions
diff --git a/math/taucs/Makefile b/math/taucs/Makefile
index d7fcb4f..99652af 100644
--- a/math/taucs/Makefile
+++ b/math/taucs/Makefile
@@ -26,9 +26,8 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
-.endif
+post-configure:
+ cd ${WRKSRC}; ${PATCH} <${FILESDIR}/extra-patch-build-FreeBSD-makefile
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD/libtaucs.a ${PREFIX}/lib
diff --git a/math/taucs/files/extra-patch-build-FreeBSD-makefile b/math/taucs/files/extra-patch-build-FreeBSD-makefile
new file mode 100644
index 0000000..8fa385f
--- /dev/null
+++ b/math/taucs/files/extra-patch-build-FreeBSD-makefile
@@ -0,0 +1,11 @@
+--- build/FreeBSD/makefile.orig Mon May 3 20:08:53 2004
++++ build/FreeBSD/makefile Mon May 3 20:09:20 2004
+@@ -42,7 +42,7 @@
+ - $(DIROBJ)taucs_c99_complex_test$(EXEEXT) build/FreeBSD/taucs_config_tests.h
+ - $(CILKC) -c $(CILKFLAGS) $(STDDEFS) $(STDINCS) \
+ $(DIRPROGS)taucs_cilk_test.c \
+- $(CILKOUTFLG)$(DIROBJ)taucs_cilk_test$(OBJEXT)
++ $(CILKOUTFLG)$(DIROBJ)taucs_cilk_test$(OBJEXT) || rm $(DIROBJ)taucs_cilk_test$(OBJEXT)
+ - $(LD) $(LDFLAGS) \
+ $(LOUTFLG)$(DIROBJ)taucs_cilk_test$(EXEEXT) \
+ $(DIROBJ)taucs_cilk_test$(OBJEXT) $(LIBS)
OpenPOWER on IntegriCloud