summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2003-12-13 17:12:13 +0000
committermi <mi@FreeBSD.org>2003-12-13 17:12:13 +0000
commit7de18cb5326574ad27fd4a5d276512152b18a292 (patch)
tree807445743833111c3e9c6ce7ac3da05d1f4a7c51
parent86c2668f5cefd26e3d90aa6d40e3c1dad5810c98 (diff)
downloadFreeBSD-ports-7de18cb5326574ad27fd4a5d276512152b18a292.zip
FreeBSD-ports-7de18cb5326574ad27fd4a5d276512152b18a292.tar.gz
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
-rw-r--r--devel/tcl-trf/Makefile3
-rw-r--r--devel/tcl-trf/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index 7aa6b2e..f8b06a5 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 958a4c0..3a01af5 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
OpenPOWER on IntegriCloud