mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 6.1.1.
This commit is contained in:
parent
bf8a09d2af
commit
8453a00a4d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343307
@ -2,13 +2,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sage
|
||||
PORTVERSION= 6.1
|
||||
PORTVERSION= 6.1.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \
|
||||
http://mirrors.xmission.com/sage/src/ \
|
||||
http://www-ftp.lip6.fr/pub/math/sagemath/src/ \
|
||||
http://www.sagemath.org/src-old/
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= stephen@FreeBSD.org
|
||||
COMMENT= Open source Mathematics software
|
||||
@ -153,4 +152,29 @@ FPM_FLAG=
|
||||
|
||||
MAKE_ENV+= MAKE="${MAKE} -j${MAKE_JOBS_NUMBER}"
|
||||
|
||||
.ifdef MAINTAINER_MODE
|
||||
test-fbsd-patches: patch
|
||||
rm -rf ${WRKSRC}/build/pkgs/*/src; \
|
||||
for d in ${WRKSRC}/build/pkgs/*; do \
|
||||
if ls $$d/fbsd-patch-* > /dev/null 2>&1; then \
|
||||
echo Testing patches in $${d##*/}; \
|
||||
b=$${d##*/}-`cat $$d/package-version.txt | sed 's/\.p.*//'`; \
|
||||
c=${WRKSRC}/upstream/$$b.tar.bz2 ; \
|
||||
if [ ! -e $$c ]; then \
|
||||
echo Couldn\'t find $$c; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if ! (cd $$d && tar xf $$c && mv $$b src); then \
|
||||
echo Unable to unarchive $$c; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if ! (cd $$d && cat fbsd-patch-* | patch); then \
|
||||
echo Patches in $${d##*/} failed; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
done; \
|
||||
rm -rf ${WRKSRC}/build/pkgs/*/src
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (sage-6.1.tar) = 13c3ec386176ed48a612fe47fa909ee461bd3f6c6c62fb0b3e4528c3c5602a42
|
||||
SIZE (sage-6.1.tar) = 399881018
|
||||
SHA256 (sage-6.1.1.tar.gz) = bee00adf232fbd4b256fae1aae5e9b52cb5c050b2d2337b624c31f9c28d07f4d
|
||||
SIZE (sage-6.1.1.tar.gz) = 398548682
|
||||
|
@ -1,15 +1,14 @@
|
||||
--- /dev/null 2014-02-04 16:10:34.000000000 -0600
|
||||
+++ build/pkgs/readline/fbsd-patch-src_support_shlib-install 2014-02-04 16:14:11.000000000 -0600
|
||||
@@ -0,0 +1,12 @@
|
||||
+--- src/support/shlib-install-orig 2014-02-04 16:09:16.000000000 -0600
|
||||
++++ src/support/shlib-install 2014-02-04 16:10:32.000000000 -0600
|
||||
+@@ -177,7 +177,8 @@
|
||||
--- /dev/null 2014-02-05 02:11:00.000000000 +0000
|
||||
+++ build/pkgs/readline/fbsd-patch-src_support_shlib-install 2014-02-05 02:11:23.000000000 +0000
|
||||
@@ -0,0 +1,11 @@
|
||||
+--- src/support/shlib-install.orig 2009-10-28 13:30:18.000000000 +0000
|
||||
++++ src/support/shlib-install 2014-02-05 02:08:59.000000000 +0000
|
||||
+@@ -177,7 +177,7 @@
|
||||
+ fi
|
||||
+ ;;
|
||||
+
|
||||
+-freebsd[4-9]*|freebsdelf*|dragonfly*)
|
||||
++# FreeBSD less than 4 no longer supported. So freebsd[4-9]* to freebsd*.
|
||||
++freebsd*|freebsdelf*|dragonfly*)
|
||||
++freebsd[4-9].*|freebsd1[0-9].*|freebsdelf*|dragonfly*)
|
||||
+ # libname.so -> libname.so.M
|
||||
+ ${echo} ${RM} ${INSTALLDIR}/$LINK1
|
||||
+ if [ -z "$uninstall" ]; then
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- build/pkgs/readline/patches/shobj-conf.patch-orig 2014-02-04 21:08:30.000000000 -0600
|
||||
+++ build/pkgs/readline/patches/shobj-conf.patch 2014-02-04 21:09:48.000000000 -0600
|
||||
@@ -43,7 +43,7 @@
|
||||
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)'
|
||||
-
|
||||
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
|
||||
-+freebsdelf*|dragonfly*)
|
||||
++freebsd[4-9].*|freebsd1[0-9].*|freebsdelf*|dragonfly*)
|
||||
+ SHOBJ_CFLAGS=-fPIC
|
||||
+ SHOBJ_LD='${CC}'
|
||||
+ SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
@ -0,0 +1,34 @@
|
||||
--- /dev/null 2014-02-05 05:15:00.000000000 +0000
|
||||
+++ build/pkgs/scons/fbsd-patch-src_engine_SCons_compat__scons_subprocess.py 2014-02-05 05:16:45.000000000 +0000
|
||||
@@ -0,0 +1,31 @@
|
||||
+--- src/engine/SCons/compat/_scons_subprocess.py.orig 2008-12-21 06:59:59.000000000 +0000
|
||||
++++ src/engine/SCons/compat/_scons_subprocess.py 2014-02-05 05:11:11.000000000 +0000
|
||||
+@@ -585,13 +585,19 @@
|
||||
+ class object:
|
||||
+ pass
|
||||
+
|
||||
++import thread
|
||||
++lock = thread.allocate_lock()
|
||||
++
|
||||
+ class Popen(object):
|
||||
+ def __init__(self, args, bufsize=0, executable=None,
|
||||
+ stdin=None, stdout=None, stderr=None,
|
||||
+ preexec_fn=None, close_fds=False, shell=False,
|
||||
+ cwd=None, env=None, universal_newlines=False,
|
||||
+ startupinfo=None, creationflags=0):
|
||||
+- """Create new Popen instance."""
|
||||
++ """Create new Popen instance.
|
||||
++ Popen is not thread-safe and is therefore protected with a lock.
|
||||
++ """
|
||||
++ lock.acquire()
|
||||
+ _cleanup()
|
||||
+
|
||||
+ self._child_created = False
|
||||
+@@ -659,6 +665,7 @@
|
||||
+ self.stderr = os.fdopen(errread, 'rU', bufsize)
|
||||
+ else:
|
||||
+ self.stderr = os.fdopen(errread, 'rb', bufsize)
|
||||
++ lock.release()
|
||||
+
|
||||
+
|
||||
+ def _translate_newlines(self, data):
|
Loading…
Reference in New Issue
Block a user