aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-04 13:56:39 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-04 13:56:39 +0000
commitc56858c3bd0f5a33b4e4c76d5fef1bfef4f76582 (patch)
tree523d6fc7ee6058a1b4aff97eb9f0a98ec980450a /math
parentcfc057e091227644746b6a76442e5fa26ef6b698 (diff)
downloadports-c56858c3bd0f5a33b4e4c76d5fef1bfef4f76582.tar.gz
ports-c56858c3bd0f5a33b4e4c76d5fef1bfef4f76582.zip
Notes
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 d7fcb4fe7a00..99652af7774b 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 000000000000..8fa385f9ceda
--- /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)