Tue Aug 21 21:56:13 2012 UTC ()
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.


(marino)
diff -r1.8 -r1.9 pkgsrc/security/tcl-tls/Makefile
diff -r1.2 -r1.3 pkgsrc/security/tcl-tls/PLIST

cvs diff -r1.8 -r1.9 pkgsrc/security/tcl-tls/Makefile (expand / switch to unified diff)

--- pkgsrc/security/tcl-tls/Makefile 2010/06/25 06:28:09 1.8
+++ pkgsrc/security/tcl-tls/Makefile 2012/08/21 21:56:13 1.9
@@ -1,27 +1,32 @@ @@ -1,27 +1,32 @@
1# $NetBSD: Makefile,v 1.8 2010/06/25 06:28:09 obache Exp $ 1# $NetBSD: Makefile,v 1.9 2012/08/21 21:56:13 marino Exp $
2# 2#
3 3
4DISTNAME= tls1.5.0-src 4DISTNAME= tls1.5.0-src
5PKGNAME= tcl-tls-1.5.0 5PKGNAME= tcl-tls-1.5.0
6PKGREVISION= 2 6PKGREVISION= 3
7CATEGORIES= security 7CATEGORIES= security
8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tls/} 8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tls/}
9 9
10PKG_DESTDIR_SUPPORT= user-destdir 10PKG_DESTDIR_SUPPORT= user-destdir
11 11
12MAINTAINER= pkgsrc-users@NetBSD.org 12MAINTAINER= pkgsrc-users@NetBSD.org
13HOMEPAGE= http://tls.sourceforge.net/ 13HOMEPAGE= http://tls.sourceforge.net/
14COMMENT= TLS (aka SSL) Channel for the Tcl language 14COMMENT= TLS (aka SSL) Channel for the Tcl language
15 15
16WRKSRC= ${WRKDIR}/tls1.5 16WRKSRC= ${WRKDIR}/tls1.5
17 17
18GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
19CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl} 19CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl}
20CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q} 20CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
21MAKE_ENV+= TCLLIB="${BUILDLINK_PREFIX.tcl}/lib" 21MAKE_ENV+= TCLLIB="${BUILDLINK_PREFIX.tcl}/lib"
22 22
23TEST_TARGET= test 23TEST_TARGET= test
24 24
 25.include "../../lang/tcl/Makefile.version"
 26
 27PLIST_SUBST+= TCL_SONUM=${TCL_SONUM}
 28
 29
25.include "../../lang/tcl/buildlink3.mk" 30.include "../../lang/tcl/buildlink3.mk"
26.include "../../security/openssl/buildlink3.mk" 31.include "../../security/openssl/buildlink3.mk"
27.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/security/tcl-tls/PLIST (expand / switch to unified diff)

--- pkgsrc/security/tcl-tls/PLIST 2009/06/14 18:13:40 1.2
+++ pkgsrc/security/tcl-tls/PLIST 2012/08/21 21:56:13 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:13:40 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2012/08/21 21:56:13 marino Exp $
2include/tls.h 2include/tls.h
3lib/libtls150.so 3lib/libtls${TCL_SONUM}.so
4lib/tls1.50/pkgIndex.tcl 4lib/tls1.50/pkgIndex.tcl
5lib/tls1.50/tls.tcl 5lib/tls1.50/tls.tcl