Date: Fri, 8 Apr 2016 09:32:26 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412726 - in head/devel/tclthread: . files Message-ID: <201604080932.u389WQsP054561@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Fri Apr 8 09:32:25 2016 New Revision: 412726 URL: https://svnweb.freebsd.org/changeset/ports/412726 Log: devel/tclthread: update to 2.7.3, modernize Makefile Added: head/devel/tclthread/files/ head/devel/tclthread/files/patch-aclocal.m4 (contents, props changed) Modified: head/devel/tclthread/Makefile head/devel/tclthread/distinfo Modified: head/devel/tclthread/Makefile ============================================================================== --- head/devel/tclthread/Makefile Fri Apr 8 09:16:10 2016 (r412725) +++ head/devel/tclthread/Makefile Fri Apr 8 09:32:25 2016 (r412726) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= thread -PORTVERSION= 2.7.2 +PORTVERSION= 2.7.3 CATEGORIES= devel MASTER_SITES= SF/tcl/Thread%20Extension/${PORTVERSION} PKGNAMEPREFIX= tcl @@ -14,11 +14,12 @@ COMMENT= Scripting level thread extensio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/license.terms -USES+= tcl +USES= autoreconf tcl DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ + --prefix=${PREFIX} \ --exec-prefix=${PREFIX} USE_LDCONFIG= ${PREFIX}/lib/thread${PORTVERSION} @@ -29,22 +30,14 @@ INSTALL_TARGET= install-binaries install OPTIONS_DEFINE= GDBM DOCS OPTIONS_DEFAULT=GDBM GDBM_DESC= Persistent shared variables using GDBM +GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm +GDBM_CONFIGURE_WITH= gdbm PORTDOCS= * -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGDBM} -LIB_DEPENDS+= libgdbm.so:databases/gdbm -CONFIGURE_ARGS+=--with-gdbm -.endif - post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e \ - '/^INSTALL_PROGRAM/s|$$| -s|; /^INSTALL_LIBRARY/s|$$| -s|' \ - ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} "/INSTALL_LIBRARY=/s|'\$$| -s'|" \ + ${WRKSRC}/tclconfig/tcl.m4 post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/html Modified: head/devel/tclthread/distinfo ============================================================================== --- head/devel/tclthread/distinfo Fri Apr 8 09:16:10 2016 (r412725) +++ head/devel/tclthread/distinfo Fri Apr 8 09:32:25 2016 (r412726) @@ -1,2 +1,2 @@ -SHA256 (thread2.7.2.tar.gz) = b032def4b4aebd9158836ef18a819882f8a3003247166a7a085c98ce89ca7aa8 -SIZE (thread2.7.2.tar.gz) = 290516 +SHA256 (thread2.7.3.tar.gz) = 7511c736e4738fc50af91a9aefd46ae588d3596de8565a1d5e26aeee0d17ff9e +SIZE (thread2.7.3.tar.gz) = 291332 Added: head/devel/tclthread/files/patch-aclocal.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tclthread/files/patch-aclocal.m4 Fri Apr 8 09:32:25 2016 (r412726) @@ -0,0 +1,11 @@ +--- aclocal.m4.orig 2016-04-08 09:07:17 UTC ++++ aclocal.m4 +@@ -22,7 +22,7 @@ AC_DEFUN(TCLTHREAD_WITH_GDBM, [ + [ --with-gdbm link with optional GDBM support],\ + with_gdbm=${withval}) + +- if test x"${with_gdbm}" != x; then ++ if test x"${with_gdbm}" != "x" -a "${with_gdbm}" != "no"; then + + AC_MSG_CHECKING([for GNU gdbm library]) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604080932.u389WQsP054561>