From 4d44668ece6f033f3fa3b14e6f6f2b39dd0aa2da Mon Sep 17 00:00:00 2001 From: olgeni Date: Mon, 6 May 2013 18:40:08 +0000 Subject: Add ERLANG_LIB to SUB_LIST, and use it in pkg-message. No PORTREVISION bump because the package stays the same. --- lang/erlang-runtime15/Makefile | 2 +- lang/erlang-runtime15/files/pkg-message.in | 2 +- lang/erlang-runtime16/Makefile | 2 +- lang/erlang-runtime16/files/pkg-message.in | 2 +- 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. =========================================================================== -- cgit