diff options
author | Stefan Eßer <se@FreeBSD.org> | 2019-06-07 08:04:17 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2019-06-07 08:04:17 +0000 |
commit | 59fa5b8f161827f1fe3afeab35fa129c8e38e7e9 (patch) | |
tree | 617880174f1501bf725533e4eb24e8b90cc5945d /math/gh-bc | |
parent | dcc1bc4e05a0da4e42f2434104e77427c66b594c (diff) | |
download | ports-59fa5b8f161827f1fe3afeab35fa129c8e38e7e9.tar.gz ports-59fa5b8f161827f1fe3afeab35fa129c8e38e7e9.zip |
Notes
Diffstat (limited to 'math/gh-bc')
-rw-r--r-- | math/gh-bc/Makefile | 6 | ||||
-rw-r--r-- | math/gh-bc/files/patch-locale__install.sh | 20 | ||||
-rw-r--r-- | math/gh-bc/pkg-plist | 1 |
3 files changed, 22 insertions, 5 deletions
diff --git a/math/gh-bc/Makefile b/math/gh-bc/Makefile index 84ed4ae2b0e0..813407604cef 100644 --- a/math/gh-bc/Makefile +++ b/math/gh-bc/Makefile @@ -2,7 +2,7 @@ PORTNAME= bc PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math PKGNAMEPREFIX= gh- @@ -29,9 +29,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/share/nls/C ${WRKSRC}/locale_install.sh ${STAGEDIR}${PREFIX}/share/nls/%L/%N.cat ${PORTNAME} - ${RM} ${STAGEDIR}${PREFIX}/share/nls/en_US/bc.cat - ${RMDIR} ${STAGEDIR}${PREFIX}/share/nls/en_US - ${LN} ${STAGEDIR}${PREFIX}/share/nls/en_US.ISO8859-1/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/ + ${MV} ${STAGEDIR}${PREFIX}/share/nls/en_US/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/ do-test: ${MAKE} -C ${WRKSRC} test diff --git a/math/gh-bc/files/patch-locale__install.sh b/math/gh-bc/files/patch-locale__install.sh new file mode 100644 index 000000000000..44bcfd8df43e --- /dev/null +++ b/math/gh-bc/files/patch-locale__install.sh @@ -0,0 +1,20 @@ +--- locale_install.sh.orig 2019-05-29 01:32:06 UTC ++++ locale_install.sh +@@ -114,6 +114,7 @@ for file in $locales_dir/*.msg; do + continue + fi + ++ echo gencatfile "$loc" "$file" + gencatfile "$loc" "$file" + + done +@@ -143,7 +144,8 @@ for file in $locales_dir/*.msg; do + gencatfile "$destdir/$linksrc" "$linkdir/$link" + fi + +- ln -s "$linksrc" "$loc" ++ echo ln "$linksrc" "$loc" ++ ln "$linksrc" "$loc" + fi + + done diff --git a/math/gh-bc/pkg-plist b/math/gh-bc/pkg-plist index 45c0d624a49d..5bacb5492865 100644 --- a/math/gh-bc/pkg-plist +++ b/math/gh-bc/pkg-plist @@ -47,4 +47,3 @@ share/nls/fr_CH.UTF-8/bc.cat share/nls/fr_FR.ISO8859-1/bc.cat share/nls/fr_FR.ISO8859-15/bc.cat share/nls/fr_FR.UTF-8/bc.cat - |