From owner-svn-ports-head@freebsd.org Thu Dec 1 13:33:33 2016 Return-Path: Delivered-To: svn-ports-head@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 985F2C606F0; Thu, 1 Dec 2016 13:33:33 +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 4757E15D8; Thu, 1 Dec 2016 13:33:33 +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 uB1DXWTt042320; Thu, 1 Dec 2016 13:33:32 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB1DXWRg042318; Thu, 1 Dec 2016 13:33:32 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201612011333.uB1DXWRg042318@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:33:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427498 - head/lang/tcl87 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 13:33:33 -0000 Author: swills Date: Thu Dec 1 13:33:32 2016 New Revision: 427498 URL: https://svnweb.freebsd.org/changeset/ports/427498 Log: lang/tcl87: enable DTRACE option by default where possible PR: 214794 Approved by: gahr Modified: head/lang/tcl87/Makefile head/lang/tcl87/pkg-plist Modified: head/lang/tcl87/Makefile ============================================================================== --- head/lang/tcl87/Makefile Thu Dec 1 13:32:54 2016 (r427497) +++ head/lang/tcl87/Makefile Thu Dec 1 13:33:32 2016 (r427498) @@ -2,6 +2,7 @@ # $FreeBSD$ PORTNAME= tcl +PORTREVISION= 1 DISTVERSION= 8.7.a0.20161104 CATEGORIES= lang MASTER_SITES= http://core.tcl.tk/tcl/tarball/ @@ -17,12 +18,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}} + FOSSIL_CHECKIN= 24d90770030948ca PATCH_WRKSRC= ${WRKDIR}/Tcl_Source_Code @@ -55,6 +66,15 @@ 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 \ Modified: head/lang/tcl87/pkg-plist ============================================================================== --- head/lang/tcl87/pkg-plist Thu Dec 1 13:32:54 2016 (r427497) +++ head/lang/tcl87/pkg-plist Thu Dec 1 13:33:32 2016 (r427498) @@ -31,6 +31,7 @@ include/tcl%%TCL_VER%%/generic/tclTomMat include/tcl%%TCL_VER%%/generic/tommath.h include/tcl%%TCL_VER%%/tcl.h include/tcl%%TCL_VER%%/tclDecls.h +%%DTRACE%%include/tcl%%TCL_VER%%/unix/tclDTrace.h include/tcl%%TCL_VER%%/tclOO.h include/tcl%%TCL_VER%%/tclOODecls.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