aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-05-07 02:40:08 +0800
committerolgeni <olgeni@FreeBSD.org>2013-05-07 02:40:08 +0800
commit4d44668ece6f033f3fa3b14e6f6f2b39dd0aa2da (patch)
treeafd32f5b1322fe5b061dac79a0da82a2eb543ca9
parent7834cd6c924708952cebeeaf683e6f7557141040 (diff)
downloadfreebsd-ports-gnome-4d44668ece6f033f3fa3b14e6f6f2b39dd0aa2da.tar.gz
freebsd-ports-gnome-4d44668ece6f033f3fa3b14e6f6f2b39dd0aa2da.tar.zst
freebsd-ports-gnome-4d44668ece6f033f3fa3b14e6f6f2b39dd0aa2da.zip
Add ERLANG_LIB to SUB_LIST, and use it in pkg-message.
No PORTREVISION bump because the package stays the same.
-rw-r--r--lang/erlang-runtime15/Makefile2
-rw-r--r--lang/erlang-runtime15/files/pkg-message.in2
-rw-r--r--lang/erlang-runtime16/Makefile2
-rw-r--r--lang/erlang-runtime16/files/pkg-message.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/lang/erlang-runtime15/Makefile b/lang/erlang-runtime15/Makefile
index beb2400e1a79..e6f53868c2d7 100644
--- a/lang/erlang-runtime15/Makefile
+++ b/lang/erlang-runtime15/Makefile
@@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/otp_src_R15B03
ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
SUB_FILES= pkg-message
-SUB_LIST= TOOLS_VSN=${TOOLS_VSN}
+SUB_LIST= TOOLS_VSN=${TOOLS_VSN} ERLANG_LIB=${ERLANG_LIB}
PLIST_SUB= ERLANG_LIB=${ERLANG_LIB}
MAKE_JOBS_UNSAFE=yes
diff --git a/lang/erlang-runtime15/files/pkg-message.in b/lang/erlang-runtime15/files/pkg-message.in
index 6e897edccc7b..e1f9b0b52c56 100644
--- a/lang/erlang-runtime15/files/pkg-message.in
+++ b/lang/erlang-runtime15/files/pkg-message.in
@@ -10,6 +10,6 @@ You may wish to add the following line to /etc/manpath.config:
OPTIONAL_MANPATH %%LOCALBASE%%/lib/erlang/man
To use this runtime port for development or testing, just prepend
-its binary path ("%%LOCALBASE%%/lib/erlang15/bin") to your PATH variable.
+its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable.
===========================================================================
diff --git a/lang/erlang-runtime16/Makefile b/lang/erlang-runtime16/Makefile
index 5e3af76d13c4..0a703f0c7f05 100644
--- a/lang/erlang-runtime16/Makefile
+++ b/lang/erlang-runtime16/Makefile
@@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/otp_src_R16B
ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
SUB_FILES= pkg-message
-SUB_LIST= TOOLS_VSN=${TOOLS_VSN}
+SUB_LIST= TOOLS_VSN=${TOOLS_VSN} ERLANG_LIB=${ERLANG_LIB}
PLIST_SUB= ERLANG_LIB=${ERLANG_LIB}
MAKE_JOBS_UNSAFE=yes
diff --git a/lang/erlang-runtime16/files/pkg-message.in b/lang/erlang-runtime16/files/pkg-message.in
index 1adddb75f563..e1f9b0b52c56 100644
--- a/lang/erlang-runtime16/files/pkg-message.in
+++ b/lang/erlang-runtime16/files/pkg-message.in
@@ -10,6 +10,6 @@ You may wish to add the following line to /etc/manpath.config:
OPTIONAL_MANPATH %%LOCALBASE%%/lib/erlang/man
To use this runtime port for development or testing, just prepend
-its binary path ("%%LOCALBASE%%/lib/erlang16/bin") to your PATH variable.
+its binary path ("%%LOCALBASE%%/lib/%%ERLANG_LIB%%/bin") to your PATH variable.
===========================================================================