summaryrefslogtreecommitdiff
path: root/devel/eclipse-titan/files/patch-help-ttcn3_help
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2025-06-12 23:51:51 +0900
committerHiroki Sato <hrs@FreeBSD.org>2025-06-12 23:51:51 +0900
commit1ff22df3296bb9002ceb555f6adbff2bc005c159 (patch)
treeed60f250a8d706786c9345ad859d73b492eff704 /devel/eclipse-titan/files/patch-help-ttcn3_help
parentdevel/reposilite: DISTNAME should be PORTNAME (diff)
devel/eclipse-titan: Add new port
Eclipse Titan is an open-source implementation of TTCN-3 compilation and execution environment. TTCN-3 is a modular language specifically designed for testing, standardized by ETSI, and endorsed by ITU.
Diffstat (limited to 'devel/eclipse-titan/files/patch-help-ttcn3_help')
-rw-r--r--devel/eclipse-titan/files/patch-help-ttcn3_help14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/eclipse-titan/files/patch-help-ttcn3_help b/devel/eclipse-titan/files/patch-help-ttcn3_help
new file mode 100644
index 000000000000..b6ff73141aa9
--- /dev/null
+++ b/devel/eclipse-titan/files/patch-help-ttcn3_help
@@ -0,0 +1,14 @@
+--- help/ttcn3_help.orig 2025-05-28 08:04:59 UTC
++++ help/ttcn3_help
+@@ -32,7 +32,10 @@ if test "${TTCN3_DIR}" = ""
+
+ # check for necessary environment variables
+ if test "${TTCN3_DIR}" = ""
+-then echo "Error: TTCN3_DIR environment variable is not set"; exit 1;
++then if test -d "%%TTCN3_DIR%%"
++ then TTCN3_DIR=%%TTCN3_DIR%%
++ else echo "Error: TTCN3_DIR environment variable is not set"; exit 1;
++ fi
+ fi
+
+ # file extension for help files