summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-21 21:56:13 +0000
committermarino <marino@pkgsrc.org>2012-08-21 21:56:13 +0000
commitdba74c080c4f7d47fcb944eae7eb08e3bf48a060 (patch)
tree1ef17c932379f6bede4f7b86b501c1c6bea0ea6f /security
parent9732556e9732a728b2d690bcd81cc81e6c69e862 (diff)
downloadpkgsrc-dba74c080c4f7d47fcb944eae7eb08e3bf48a060.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/tcl-tls/Makefile9
-rw-r--r--security/tcl-tls/PLIST4
2 files changed, 9 insertions, 4 deletions
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