From dba74c080c4f7d47fcb944eae7eb08e3bf48a060 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 21 Aug 2012 21:56:13 +0000 Subject: security/tcl-tls: Add tcl 8.5 support The PLIST was hardcoded for libtls150.so. Build With tcl 8.5, the generated library becomes libtls85.so. Use the tcl Makefile.version file to generate a PLIST_SUBST variable to make this future-proof. --- security/tcl-tls/Makefile | 9 +++++++-- security/tcl-tls/PLIST | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'security') diff --git a/security/tcl-tls/Makefile b/security/tcl-tls/Makefile index 5710607264d..c8d10580b20 100644 --- a/security/tcl-tls/Makefile +++ b/security/tcl-tls/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2010/06/25 06:28:09 obache Exp $ +# $NetBSD: Makefile,v 1.9 2012/08/21 21:56:13 marino Exp $ # DISTNAME= tls1.5.0-src PKGNAME= tcl-tls-1.5.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tls/} @@ -22,6 +22,11 @@ MAKE_ENV+= TCLLIB="${BUILDLINK_PREFIX.tcl}/lib" TEST_TARGET= test +.include "../../lang/tcl/Makefile.version" + +PLIST_SUBST+= TCL_SONUM=${TCL_SONUM} + + .include "../../lang/tcl/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/tcl-tls/PLIST b/security/tcl-tls/PLIST index 4c5d4475286..ab52daf2484 100644 --- a/security/tcl-tls/PLIST +++ b/security/tcl-tls/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:13:40 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2012/08/21 21:56:13 marino Exp $ include/tls.h -lib/libtls150.so +lib/libtls${TCL_SONUM}.so lib/tls1.50/pkgIndex.tcl lib/tls1.50/tls.tcl -- cgit v1.2.3