aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-03-09 09:46:20 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-03-09 09:46:20 +0000
commitbd68b79b94d37d2c9f835cb20af964b829ef3f15 (patch)
tree8d6c2fb40c6c988d487075fd4fc17288cc6b2c89 /math
parentd535ce2f091a5aaea7c11ef55e169a4e4ffd8e55 (diff)
downloadports-bd68b79b94d37d2c9f835cb20af964b829ef3f15.tar.gz
ports-bd68b79b94d37d2c9f835cb20af964b829ef3f15.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/scigraphica/Makefile4
-rw-r--r--math/scigraphica/files/patch-src::python::python_config.c18
2 files changed, 18 insertions, 4 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 115dc661cf18..1a49fedca7cf 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -34,10 +34,6 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
diff --git a/math/scigraphica/files/patch-src::python::python_config.c b/math/scigraphica/files/patch-src::python::python_config.c
new file mode 100644
index 000000000000..0300aee8d4de
--- /dev/null
+++ b/math/scigraphica/files/patch-src::python::python_config.c
@@ -0,0 +1,18 @@
+--- src/python/python_config.c.orig Mon Mar 7 22:00:46 2005
++++ src/python/python_config.c Mon Mar 7 22:00:53 2005
+@@ -236,6 +236,7 @@
+ }
+ break;
+ default:
++ break; /* do nothing */;
+ }
+ }
+ #ifdef WITH_GNOME
+@@ -610,6 +611,7 @@
+ break;
+
+ default:
++ break;/* do nothing */;
+ }
+ }
+