From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 5 19:10:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E653B106564A for ; Sun, 5 Jun 2011 19:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD0038FC0A for ; Sun, 5 Jun 2011 19:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p55JA8qN019196 for ; Sun, 5 Jun 2011 19:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p55JA8W7019195; Sun, 5 Jun 2011 19:10:08 GMT (envelope-from gnats) Resent-Date: Sun, 5 Jun 2011 19:10:08 GMT Resent-Message-Id: <201106051910.p55JA8W7019195@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, Peter Vereshagin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD0BE1065674 for ; Sun, 5 Jun 2011 19:00:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C1D088FC14 for ; Sun, 5 Jun 2011 19:00:55 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p55J0txh045931 for ; Sun, 5 Jun 2011 19:00:55 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p55J0t05045930; Sun, 5 Jun 2011 19:00:55 GMT (envelope-from nobody) Message-Id: <201106051900.p55J0t05045930@red.freebsd.org> Date: Sun, 5 Jun 2011 19:00:55 GMT From: Peter Vereshagin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157632: New port: devel/p5-Sub-Alias X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2011 19:10:09 -0000 >Number: 157632 >Category: ports >Synopsis: New port: devel/p5-Sub-Alias >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 Jun 05 19:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Peter Vereshagin >Release: 7.4-stable >Organization: ' >Environment: FreeBSD teh.ost 7.4-STABLE FreeBSD 7.4-STABLE #10: Mon May 2 16:12:55 MSD 2011 usr@teh.ost:/CONFIG i386 >Description: This module does a compile-time code injection to let you define subroute aliases with their names, but not code refs. This differs from p5-Sub-Name in that it defines a typeglob in a more correct way and keeps you from manipulating the symbol tables directly. You can use the subroutine as if it was defined the ordinary way then. This is particularly useful in the cases when you need to have several identical subroutines with different names. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Sub-Alias # p5-Sub-Alias/Makefile # p5-Sub-Alias/distinfo # p5-Sub-Alias/pkg-descr # echo c - p5-Sub-Alias mkdir -p p5-Sub-Alias > /dev/null 2>&1 echo x - p5-Sub-Alias/Makefile sed 's/^X//' >p5-Sub-Alias/Makefile << '120b8fc4401340eac06672cecd29e3b1' X# New ports collection makefile for: devel/p5-Sub-Alias X# Date created: 05 June 2011 X# Whom: Peter Vereshagin X# X# $FreeBSD$ X# X XPORTNAME= Sub-Alias XPORTVERSION= 0.03 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= peter@vereshagin.org XCOMMENT= Sub::Alias - alias a sub X XBUILD_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \ X p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \ X p5-Devel-BeginLift>=0:${PORTSDIR}/devel/p5-Devel-BeginLift XRUN_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \ X p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \ X p5-Devel-BeginLift>=0:${PORTSDIR}/devel/p5-Devel-BeginLift X XPERL_CONFIGURE= 5.8.0+ X XLICENSE= MIT X XMAN3= Sub::Alias.3 X X.include 120b8fc4401340eac06672cecd29e3b1 echo x - p5-Sub-Alias/distinfo sed 's/^X//' >p5-Sub-Alias/distinfo << '1f15d053091e6c20179e8f7550102263' XSHA256 (Sub-Alias-0.03.tar.gz) = 8a408483ddb7d5daefbe3e25ad50b027b08e6af0b089d30bf7f32de83bd629d1 XSIZE (Sub-Alias-0.03.tar.gz) = 16333 1f15d053091e6c20179e8f7550102263 echo x - p5-Sub-Alias/pkg-descr sed 's/^X//' >p5-Sub-Alias/pkg-descr << 'd59ad9d1f26d6afe49c9a1dbd17d6df4' XThis module does a compile-time code injection to let you define subroute Xaliases with their names, but not code refs. X XThis differs from p5-Sub-Name in that it defines a typeglob in a more correct Xway and keeps you from manipulating the symbol tables directly. You can use the Xsubroutine as if it was defined the ordinary way then. X XThis is particularly useful in the cases when you need to have several Xidentical subroutines with different names. X XWWW: http://search.cpan.org/dist/Sub-Alias/ d59ad9d1f26d6afe49c9a1dbd17d6df4 exit >Release-Note: >Audit-Trail: >Unformatted: