- Patch euktoeps, so it uses GNU getopt
- Add dependency on misc/getopt Reported by: Nicolas <nh.techn at gmail.com>
This commit is contained in:
parent
27603e1cd4
commit
1f2d3fe605
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402508
2 changed files with 14 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= eukleides
|
||||
PORTVERSION= 1.5.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.eukleides.org/files/
|
||||
|
||||
|
@ -14,7 +14,8 @@ LICENSE= GPLv3
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libreadline.so:${PORTSDIR}/devel/readline
|
||||
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit
|
||||
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
|
||||
getopt>=0:${PORTSDIR}/misc/getopt
|
||||
|
||||
USE_TEX= latex
|
||||
USES= bison gettext iconv gmake tar:bzip2
|
||||
|
|
11
math/eukleides/files/patch-bash_euktoeps
Normal file
11
math/eukleides/files/patch-bash_euktoeps
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- bash/euktoeps.orig
|
||||
+++ bash/euktoeps
|
||||
@@ -31,7 +31,7 @@
|
||||
exit $1
|
||||
}
|
||||
|
||||
-args=$(getopt -o i:l::#:d:vh --long include:,locale::,interactive:,data:,version,help \
|
||||
+args=$(%%LOCALBASE%%/bin/getopt -o i:l::#:d:vh --long include:,locale::,interactive:,data:,version,help \
|
||||
-n 'Euktoeps' -- "$@")
|
||||
|
||||
if [ $? -ne 0 ]
|
Loading…
Reference in a new issue