From owner-svn-ports-all@freebsd.org Thu Dec 1 13:32:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E85C5C6065F; Thu, 1 Dec 2016 13:32:55 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E1CB14A8; Thu, 1 Dec 2016 13:32:55 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB1DWsGs042152; Thu, 1 Dec 2016 13:32:54 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB1DWst0042149; Thu, 1 Dec 2016 13:32:54 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201612011332.uB1DWst0042149@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 1 Dec 2016 13:32:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427497 - head/lang/tcl86 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 13:32:56 -0000 Author: swills Date: Thu Dec 1 13:32:54 2016 New Revision: 427497 URL: https://svnweb.freebsd.org/changeset/ports/427497 Log: lang/tcl86: enable DTRACE option by default where possible PR: 214794 Approved by: gahr Modified: head/lang/tcl86/Makefile head/lang/tcl86/pkg-plist Modified: head/lang/tcl86/Makefile ============================================================================== --- head/lang/tcl86/Makefile Thu Dec 1 13:18:30 2016 (r427496) +++ head/lang/tcl86/Makefile Thu Dec 1 13:32:54 2016 (r427497) @@ -3,7 +3,7 @@ PORTNAME= tcl PORTVERSION= 8.6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \ TCLTK/tcl8_6 @@ -19,12 +19,22 @@ LICENSE_FILE= ${WRKSRC}/../license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= TCLMAN TZDATA MODULES THREADS DEBUG +OPTIONS_DEFINE_amd64= DTRACE OPTIONS_DEFAULT=MODULES THREADS +OPTIONS_DEFAULT_amd64= DTRACE TCLMAN_DESC= Install Tcl function manpages TZDATA_DESC= Install Tcl timezone data MODULES_DESC= Install Tcl common modules OPTIONS_SUB= yes +.if !exists(/usr/sbin/dtrace) +OPTIONS_EXCLUDE+= DTRACE +.endif + +OPTIONS_EXCLUDE_FreeBSD_9+= DTRACE +OPTIONS_EXCLUDE_FreeBSD_10+= DTRACE +OPTIONS_EXCLUDE+= ${OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}} + PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix @@ -55,9 +65,16 @@ TZDATA_INSTALL_TARGET= install-tzdata MODULES_INSTALL_TARGET= install-modules THREADS_CONFIGURE_ENABLE= threads DEBUG_CONFIGURE_ENABLE= symbols +DTRACE_CONFIGURE_ENABLE= dtrace .include +.if ${PORT_OPTIONS:MDTRACE} +PLIST_SUB+= DTRACE="" +.else +PLIST_SUB+= DTRACE="@comment " +.endif + post-patch: ${REINPLACE_CMD} -e \ 's|@TCL_BUILD_LIB_SPEC@|@TCL_LIB_SPEC@|; \ Modified: head/lang/tcl86/pkg-plist ============================================================================== --- head/lang/tcl86/pkg-plist Thu Dec 1 13:18:30 2016 (r427496) +++ head/lang/tcl86/pkg-plist Thu Dec 1 13:32:54 2016 (r427497) @@ -31,6 +31,7 @@ include/tcl%%TCL_VER%%/generic/tclTomMat include/tcl%%TCL_VER%%/generic/tommath.h include/tcl%%TCL_VER%%/unix/tclUnixPort.h include/tcl%%TCL_VER%%/unix/tclUnixThrd.h +%%DTRACE%%include/tcl%%TCL_VER%%/unix/tclDTrace.h include/tcl%%TCL_VER%%/tcl.h include/tcl%%TCL_VER%%/tclDecls.h include/tcl%%TCL_VER%%/tclPlatDecls.h @@ -261,6 +262,7 @@ lib/tcl%%TCL_VER%%/parray.tcl lib/tcl%%TCL_VER%%/safe.tcl lib/tcl%%TCL_VER%%/tclAppInit.c lib/tcl%%TCL_VER%%/tclConfig.sh +%%DTRACE%%lib/tcl%%TCL_VER%%/tclDTrace.d lib/tcl%%TCL_VER%%/tclIndex lib/tcl%%TCL_VER%%/tclooConfig.sh lib/tcl%%TCL_VER%%/tm.tcl