mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
sysutils/pies: update the port to version 1.7, hook the test suite
Pull one patch from the upstream and inhibit inclusion of `abend.at' in the m4 code to fix the tests. Reported on: https://www.opennet.ru/opennews/art.shtml?num=56457
This commit is contained in:
parent
540d7ff20f
commit
fd5eb05f45
@ -1,7 +1,7 @@
|
||||
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||
|
||||
PORTNAME= pies
|
||||
PORTVERSION= 1.5
|
||||
PORTVERSION= 1.7
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
|
||||
http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
|
||||
@ -14,6 +14,7 @@ LICENSE= GPLv3+
|
||||
USES= charsetfix gmake iconv tar:bz2
|
||||
GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
TEST_TARGET= check
|
||||
|
||||
INFO= ${PORTNAME}
|
||||
PORTDOCS= ChangeLog NEWS README
|
||||
@ -28,6 +29,9 @@ NLS_USES= gettext
|
||||
NLS_CONFIGURE_OFF= --disable-nls
|
||||
PAM_CONFIGURE_OFF= --disable-pam
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/abend\.at/d' ${WRKSRC}/grecs/tests/testsuite.at
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1607929167
|
||||
SHA256 (pies-1.5.tar.bz2) = 0e738105b4d4cd7881e3a00df64c844f852feab4e755de8a54366a4931324186
|
||||
SIZE (pies-1.5.tar.bz2) = 1241919
|
||||
TIMESTAMP = 1641117269
|
||||
SHA256 (pies-1.7.tar.bz2) = 600c2f306191b27a64f4ecaaa0ba583ed4eb20e8eceac900c3a558e305544c2a
|
||||
SIZE (pies-1.7.tar.bz2) = 1250531
|
||||
|
13
sysutils/pies/files/patch-grecs_tests_epp.at
Normal file
13
sysutils/pies/files/patch-grecs_tests_epp.at
Normal file
@ -0,0 +1,13 @@
|
||||
--- grecs/tests/epp.at.orig 2021-09-06 16:30:24 UTC
|
||||
+++ grecs/tests/epp.at
|
||||
@@ -15,7 +15,9 @@
|
||||
# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
|
||||
AT_SETUP([External preprocessor])
|
||||
|
||||
-AT_CHECK([m4 -s </dev/null 2>/dev/null || AT_SKIP_TEST])
|
||||
+AT_CHECK([m4 -s </dev/null 2>/dev/null || AT_SKIP_TEST],[0],[stdout])
|
||||
+# On FreeBSD, m4 outputs a single '#line 1 "stdin"' line
|
||||
+AT_CHECK([s=`sed -e '/^#line/d' stdout`; test -z "$s" || AT_SKIP_TEST])
|
||||
|
||||
AT_CHECK([
|
||||
AT_DATA([input],
|
@ -8,5 +8,4 @@ sbin/pies
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/pies.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/pies.mo
|
||||
%%NLS%%share/locale/vi/LC_MESSAGES/pies.mo
|
||||
%%DATADIR%%/1.5/include/pp-setup
|
||||
@dir /var/pies
|
||||
|
Loading…
Reference in New Issue
Block a user