Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 06:30:15 +0000 (UTC)
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480228 - head/math/singular
Message-ID:  <201809210630.w8L6UFd6037025@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: meta
Date: Fri Sep 21 06:30:15 2018
New Revision: 480228
URL: https://svnweb.freebsd.org/changeset/ports/480228

Log:
  math/singular: add USES=ncurses warned by stage-qa
  
  Also,
  * replace some hardcoded "/bin/bash" not been replaced with shebangfix
  
  PR:		229864
  Submitted by:	meta (myself)
  Approved by:	maintainer timeout, pi (mentor)

Modified:
  head/math/singular/Makefile

Modified: head/math/singular/Makefile
==============================================================================
--- head/math/singular/Makefile	Fri Sep 21 06:15:13 2018	(r480227)
+++ head/math/singular/Makefile	Fri Sep 21 06:30:15 2018	(r480228)
@@ -2,6 +2,7 @@
 
 PORTNAME=	singular
 PORTVERSION=	4.1.1
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/4-1-1/
 
@@ -14,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libgmp.so:math/gmp \
 		libmpfr.so:math/mpfr
 
-USES=		gmake libtool perl5 pkgconfig shebangfix
+USES=		gmake libtool ncurses perl5 pkgconfig shebangfix
 USE_PERL5=	build
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
@@ -22,5 +23,11 @@ CONFIGURE_ARGS=	--with-gmp=${LOCALBASE}
 MAKE_JOBS_UNSAFE=	yes
 SHEBANG_FILES=	libpolys/libpolys-config.in \
 		libsingular-config.in
+
+# not a shebang but "/bin/bash" is hardcoded in some files
+post-patch:
+	  @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|g" \
+		 ${WRKSRC}/emacs/.emacs-general
+
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809210630.w8L6UFd6037025>