View | Details | Raw Unified | Return to bug 250368
Collapse All | Expand All

(-)Makefile (-2 / +7 lines)
Lines 14-21 Link Here
14
14
15
BUILD_DEPENDS=	gawk:lang/gawk
15
BUILD_DEPENDS=	gawk:lang/gawk
16
RUN_DEPENDS=	bash:shells/bash \
16
RUN_DEPENDS=	bash:shells/bash \
17
		gawk:lang/gawk
17
		gawk:lang/gawk \
18
TEST_DEPENDS=	gawk:lang/gawk
18
		gbase64:sysutils/coreutils
19
TEST_DEPENDS=	curl:ftp/curl \
20
		emacs:editors/emacs@nox \
21
		rlwrap:devel/rlwrap
19
22
20
USE_GITHUB=	yes
23
USE_GITHUB=	yes
21
GH_ACCOUNT=	soimort
24
GH_ACCOUNT=	soimort
Lines 23-28 Link Here
23
26
24
ALL_TARGET=	build
27
ALL_TARGET=	build
25
TEST_TARGET=	test
28
TEST_TARGET=	test
29
TEST_ENV=	LC_ALL=C.UTF-8
30
26
PLIST_FILES=	bin/trans \
31
PLIST_FILES=	bin/trans \
27
		man/man1/trans.1.gz
32
		man/man1/trans.1.gz
28
33
(-)files/patch-include_Utils.awk (+11 lines)
Line 0 Link Here
1
--- include/Utils.awk.orig	2020-10-15 13:53:06 UTC
2
+++ include/Utils.awk
3
@@ -233,6 +233,8 @@ function dumpX(text, group,    command, temp) {
4
 function base64(text,    command, temp) {
5
     if (detectProgram("uname", "-s", 1) == "Linux") # GNU base64 wraps lines by default
6
         command = "echo -n " parameterize(text) PIPE "base64 -w0"
7
+    if (detectProgram("gbase64", "--version")) # GNU base64 is sometimes available as gbase64
8
+        command = "echo -n " parameterize(text) PIPE "gbase64 -w0"
9
     else
10
         command = "echo -n " parameterize(text) PIPE "base64"
11
     command = "bash -c " parameterize(command, "\"")

Return to bug 250368