From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 16 18:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3EC1EA6 for ; Sun, 16 Mar 2014 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D19FE28E for ; Sun, 16 Mar 2014 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2GIA0ps018011 for ; Sun, 16 Mar 2014 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2GIA0b0018001; Sun, 16 Mar 2014 18:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 16 Mar 2014 18:10:00 GMT Resent-Message-Id: <201403161810.s2GIA0b0018001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olli Hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68F0EE8C; Sun, 16 Mar 2014 18:08:42 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 56752282; Sun, 16 Mar 2014 18:08:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2GI8gD2017858; Sun, 16 Mar 2014 18:08:42 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2GI8fI9017857; Sun, 16 Mar 2014 18:08:41 GMT (envelope-from ohauer) Message-Id: <201403161808.s2GI8fI9017857@freefall.freebsd.org> Date: Sun, 16 Mar 2014 18:08:41 GMT From: Olli Hauer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187639: [patch] lang/itcl add stage support Cc: erik@bz.bzflag.bz X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2014 18:10:01 -0000 >Number: 187639 >Category: ports >Synopsis: [patch] lang/itcl add stage support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 16 18:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: ohauer >Release: >Organization: >Environment: >Description: - add stage support to lang/itcl - make QA script happy s/MAN3/MAN_3/ A copy of the patch can be found here: http://people.freebsd.org/~ohauer/diffs/itcl_stage.diff >How-To-Repeat: >Fix: --- itcl_stage.diff begins here --- Index: itcl/Makefile =================================================================== --- itcl/Makefile (revision 348418) +++ itcl/Makefile (working copy) @@ -29,31 +29,27 @@ MAJOR=${PORTVERSION:R:R} \ SHORT=${PORTVERSION:R:S/.//} -MANCOMPRESSED= no -MANN= body.itcl class.itcl code.itcl configbody.itcl delete.itcl ensemble.itcl find.itcl \ - is.itcl itcl.itcl itclvars.itcl local.itcl scope.itcl -MAN3= Itcl_RegisterC.3 Itcl_Stack.3 Itcl_Class.3 Itcl_List.3 Itcl_Object.3 Itcl_Preserve.3 +MAN_3= Itcl_RegisterC.3 Itcl_Stack.3 Itcl_Class.3 \ + Itcl_List.3 Itcl_Object.3 Itcl_Preserve.3 -NO_STAGE= yes -.include - post-patch: ${REINPLACE_CMD} -E '/^includedir/s|/include|/include/itcl${PORTVERSION:R}|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} post-build test: - cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \ - ${TCLSH} tests/all.tcl -load "load ./libitcl.so.1" + (cd ${WRKSRC} && ${SETENV} ITCL_LIBRARY=${WRKSRC}/library \ + ${TCLSH} tests/all.tcl -load "load ./libitcl.so.1") post-install: - ${LN} -sf ${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl.so.1 \ - ${PREFIX}/lib/libitcl.so.${PORTVERSION:R:R} - ${LN} -sf ${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl.so.1 \ - ${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl${PORTVERSION:R:S/.//}.so - ${LN} -sf ${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl.so.1 \ - ${PREFIX}/lib/libitcl.so -.for FILE in ${MAN3} - ${INSTALL_DATA} ${WRKSRC}/doc/${FILE:S/Itcl_//} ${PREFIX}/man/man3/${FILE} + ${LN} -s libitcl.so.1 \ + ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION:R}/libitcl${PORTVERSION:R:S/.//}.so + ${LN} -s ${PORTNAME}${PORTVERSION:R}/libitcl.so.1 \ + ${STAGEDIR}${PREFIX}/lib/libitcl.so.${PORTVERSION:R:R} + ${LN} -s ${PORTNAME}${PORTVERSION:R}/libitcl.so.1 \ + ${STAGEDIR}${PREFIX}/lib/libitcl.so + +.for FILE in ${MAN_3} + ${INSTALL_DATA} ${WRKSRC}/doc/${FILE:S/Itcl_//} ${STAGEDIR}${MAN3PREFIX}/man/man3/${FILE} .endfor -.include +.include Index: ../itcl/pkg-plist =================================================================== --- itcl/pkg-plist (revision 348418) +++ itcl/pkg-plist (working copy) @@ -1,14 +1,32 @@ include/itcl%%VERSION%%/itcl.h +include/itcl%%VERSION%%/itclDecls.h include/itcl%%VERSION%%/itclInt.h -include/itcl%%VERSION%%/itclDecls.h include/itcl%%VERSION%%/itclIntDecls.h -lib/libitcl.so.%%MAJOR%% -lib/libitcl.so +lib/itcl%%VERSION%%/itcl.tcl +lib/itcl%%VERSION%%/itclConfig.sh lib/itcl%%VERSION%%/libitcl.so.1 lib/itcl%%VERSION%%/libitcl%%SHORT%%.so -lib/itcl%%VERSION%%/itcl.tcl -lib/itcl%%VERSION%%/itclConfig.sh lib/itcl%%VERSION%%/libitclstub.a lib/itcl%%VERSION%%/pkgIndex.tcl +lib/libitcl.so +lib/libitcl.so.%%MAJOR%% +man/man3/Itcl_Class.3.gz +man/man3/Itcl_List.3.gz +man/man3/Itcl_Object.3.gz +man/man3/Itcl_Preserve.3.gz +man/man3/Itcl_RegisterC.3.gz +man/man3/Itcl_Stack.3.gz +man/mann/body.itcl.gz +man/mann/class.itcl.gz +man/mann/code.itcl.gz +man/mann/configbody.itcl.gz +man/mann/delete.itcl.gz +man/mann/ensemble.itcl.gz +man/mann/find.itcl.gz +man/mann/is.itcl.gz +man/mann/itcl.itcl.gz +man/mann/itclvars.itcl.gz +man/mann/local.itcl.gz +man/mann/scope.itcl.gz +@dirrm lib/itcl%%VERSION%% @dirrm include/itcl%%VERSION%% -@dirrm lib/itcl%%VERSION%% --- itcl_stage.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: