From 464e9fadc5350464d521440c49f95f0f80077d7c Mon Sep 17 00:00:00 2001
From: meta
Date: Fri, 21 Sep 2018 06:30:15 +0000
Subject: 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)
---
math/singular/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'math')
diff --git a/math/singular/Makefile b/math/singular/Makefile
index d23f43af35ca..ef2fe58189a9 100644
--- a/math/singular/Makefile
+++ b/math/singular/Makefile
@@ -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
@@ -23,4 +24,10 @@ 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
--
cgit