From 7de18cb5326574ad27fd4a5d276512152b18a292 Mon Sep 17 00:00:00 2001 From: mi Date: Sat, 13 Dec 2003 17:12:13 +0000 Subject: Parametrize the version number to unbreak packaging -- we switched the default to Tcl-8.4, but the version in pkg-plist was hardcoded as 8.3 Prodded by: kris --- devel/tcl-trf/Makefile | 3 ++- devel/tcl-trf/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile index 7aa6b2e25395..f8b06a5aaad8 100644 --- a/devel/tcl-trf/Makefile +++ b/devel/tcl-trf/Makefile @@ -67,4 +67,5 @@ post-install: SHLIB_NAME= libTrf2.so.1 SHLIB_LINK= ${SHLIB_NAME:C/\.so\..*/.so/} -PLIST_SUB+= SHLIB_NAME=${SHLIB_NAME} SHLIB_LINK=${SHLIB_LINK} +PLIST_SUB+= SHLIB_NAME=${SHLIB_NAME} SHLIB_LINK=${SHLIB_LINK} \ + TCL_DVER=${TCL_VER:C/\.//} diff --git a/devel/tcl-trf/pkg-plist b/devel/tcl-trf/pkg-plist index 958a4c03ae6e..3a01af5a178a 100644 --- a/devel/tcl-trf/pkg-plist +++ b/devel/tcl-trf/pkg-plist @@ -1,6 +1,6 @@ lib/%%SHLIB_NAME%% lib/%%SHLIB_LINK%% -lib/libTrfstub83.a +lib/libTrfstub%%TCL_DVER%%.a lib/Trf/pkgIndex.tcl include/trfDecls.h include/transform.h -- cgit