mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Another attempt to fix build breakage that does only affect the package
builder and does not occur on my system. Approved by: antoine (implicit)
This commit is contained in:
parent
dcc1bc4e05
commit
59fa5b8f16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503623
@ -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
|
||||
|
20
math/gh-bc/files/patch-locale__install.sh
Normal file
20
math/gh-bc/files/patch-locale__install.sh
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user