Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 00:43:06 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        scrappy@FreeBSD.org
Subject:   ports/84184: [PATCH] www/p5-Maypole-Authentication-UserSessionCookie: fix $VERSION and unbreak
Message-ID:  <20050727164306.4BF01B29CE2@utopia.leeym.com>
Resent-Message-ID: <200507271650.j6RGoI1n060346@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84184
>Category:       ports
>Synopsis:       [PATCH] www/p5-Maypole-Authentication-UserSessionCookie: fix $VERSION and unbreak
>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:   Wed Jul 27 16:50:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005
>Description:
- fix $VERSION and unbreak

Port maintainer (scrappy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Maypole-Authentication-UserSessionCookie-1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Maypole-Authentication-UserSessionCookie/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	10 Apr 2005 22:01:19 -0000	1.6
+++ Makefile	27 Jul 2005 16:42:28 -0000
@@ -19,10 +19,7 @@
 
 MAN3=		Maypole::Authentication::UserSessionCookie.3
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/UserSessionCookie.pm
 
-.if ${OSVERSION} < 500000
-BROKEN=		"Does not build on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- p5-Maypole-Authentication-UserSessionCookie-1.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050727164306.4BF01B29CE2>