ports/98382: [PATCH] databases/p5-Search-Namazu: update to 0.94
Yen-Ming Lee
leeym at FreeBSD.org
Fri Jun 2 16:00:31 UTC 2006
>Number: 98382
>Category: ports
>Synopsis: [PATCH] databases/p5-Search-Namazu: update to 0.94
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 02 16:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 31 10:17:34 CST 2006
>Description:
- Update to 0.94
- Set MASTER to CPAN
- remove USE_GETTEXT (it's required by libnmz)
- add patch for perl 5.005_03 (however, it still can't pass "make test")
Added file(s):
- files/extrapatch-Namazu.xs
Port maintainer (kuriyama at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Search-Namazu-0.94.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-Search-Namazu/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile 23 Jul 2005 06:52:07 -0000 1.17
+++ Makefile 2 Jun 2006 15:53:26 -0000
@@ -6,10 +6,10 @@
#
PORTNAME= Search-Namazu
-PORTVERSION= 0.92
-PORTREVISION= 5
+PORTVERSION= 0.94
CATEGORIES= databases perl5
-MASTER_SITES= http://dist.bsdlab.org/
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Search
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama at FreeBSD.org
@@ -18,8 +18,13 @@
LIB_DEPENDS= nmz.7:${PORTSDIR}/databases/namazu2
PERL_CONFIGURE= YES
-USE_GETTEXT= yes
-CONFIGURE_ENV= PREFIX=${PREFIX}
+
MAN3= Search::Namazu.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Namazu.xs
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/p5-Search-Namazu/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo 22 Jan 2006 08:23:31 -0000 1.4
+++ distinfo 2 Jun 2006 15:53:26 -0000
@@ -1,3 +1,3 @@
-MD5 (Search-Namazu-0.92.tar.gz) = facae822cc7fd9340831a13d490f7e50
-SHA256 (Search-Namazu-0.92.tar.gz) = d3982bd080e76a37177ef396c8d45bfbab39508bf509da0a19f869e9fb1fb0d9
-SIZE (Search-Namazu-0.92.tar.gz) = 37315
+MD5 (Search-Namazu-0.94.tar.gz) = 3936fa7daa7cce88c9a1860ce377b9f4
+SHA256 (Search-Namazu-0.94.tar.gz) = b94179c5e61f479d18c97a03acdda33a178b73da092c7c7311f5260f2905a230
+SIZE (Search-Namazu-0.94.tar.gz) = 40297
Index: files/extrapatch-Namazu.xs
===================================================================
RCS file: files/extrapatch-Namazu.xs
diff -N files/extrapatch-Namazu.xs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/extrapatch-Namazu.xs 2 Jun 2006 15:53:26 -0000
@@ -0,0 +1,18 @@
+--- Namazu.xs.orig Fri Jun 2 21:58:37 2006
++++ Namazu.xs Fri Jun 2 21:59:07 2006
+@@ -46,6 +46,15 @@
+ }
+ #endif
+
++/* try to be compatible with older perls */
++/* SvPV_nolen() macro first defined in 5.005_55 */
++/* this is slow, not threadsafe, but works */
++#include "patchlevel.h"
++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55))
++static STRLEN nolen_na;
++# define SvPV_nolen(sv) SvPV ((sv), nolen_na)
++#endif
++
+ /* for old perl (< 5.004_04?) */
+ #if !defined(PL_na) && defined(na)
+ #define PL_na na
--- p5-Search-Namazu-0.94.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list