ports/164998: Update port: math/yacas to 1.3.2

KATO Tsuguru tkato432 at yahoo.com
Sat Feb 11 18:10:15 UTC 2012


>Number:         164998
>Category:       ports
>Synopsis:       Update port: math/yacas to 1.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 11 18:10:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.3.2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/yacas/Makefile math/yacas/Makefile
--- /usr/ports/math/yacas/Makefile	2012-01-09 18:41:44.000000000 +0900
+++ math/yacas/Makefile	2012-02-10 01:27:10.000000000 +0900
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	yacas
-PORTVERSION=	1.3.1
+PORTVERSION=	1.3.2
 CATEGORIES=	math
 MASTER_SITES=	http://yacas.sourceforge.net/backups/
 
@@ -17,6 +17,8 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+OPTIONS=	TESTS "Run bundled self-tests after build" on
+
 USE_PERL5_BUILD=yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool
@@ -24,17 +26,28 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "sparc64"
+BROKEN=		Does not compile with GCC 4.2
+.endif
+
 .if !defined(NOPORTDOCS)
 CONFIGURE_ARGS+=	--enable-html-doc --with-html-dir=${DOCSDIR}
 .else
 CONFIGURE_ARGS+=	--disable-html-doc
 .endif
 
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile with GCC 4.2
+.if !defined(WITHOUT_TESTS)
+BUILD_DEPENDS+=	bash:${PORTSDIR}/shells/bash
 .endif
 
-test:	build
-	@cd ${WRKSRC} && ${GMAKE} test
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's| /bin/bash| ${LOCALBASE}/bin/bash|' ${WRKSRC}/tests/test-yacas
+
+post-build:
+.if !defined(WITHOUT_TESTS)
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+		${MAKEFILE} check ${MAKE_ARGS})
+.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/math/yacas/distinfo math/yacas/distinfo
--- /usr/ports/math/yacas/distinfo	2011-12-28 15:29:28.000000000 +0900
+++ math/yacas/distinfo	2012-02-07 16:21:10.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (yacas-1.3.1.tar.gz) = 61d10c38af1e450ef325cc874143ceb414a4fdd4d7b4564bd0a65e090aa16b6c
-SIZE (yacas-1.3.1.tar.gz) = 1292136
+SHA256 (yacas-1.3.2.tar.gz) = 82c7dc0de492b4290633e6abf18d35a2ec03117e6ea3e0f9418e6e85372c030e
+SIZE (yacas-1.3.2.tar.gz) = 1292706
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list