Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 22:35:05 +0900 (JST)
From:      TAKATSU Tomonari <tota@rtfm.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edwin@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   ports/97523: [PATCH] japanese/mecab: add an IGNORE for perl lower than 5.8
Message-ID:  <20060520133505.576AB6D438@rtfm.jp>
Resent-Message-ID: <200605201340.k4KDeMSi065821@freefall.freebsd.org>

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

>Number:         97523
>Category:       ports
>Synopsis:       [PATCH] japanese/mecab: add an IGNORE for perl lower than 5.8
>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:   Sat May 20 13:40:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     TAKATSU Tomonari
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
none (personal)
>Environment:
System: FreeBSD photon.rtfm.jp 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu May 11 20:19:01 JST 2
006
>Description:
- add an IGNORE for perl lowew than 5.8

>How-To-Repeat:
>Fix:

begin 644 mecab-0.91_1.patch
diff -urN mecab.orig/Makefile mecab/Makefile
--- mecab.orig/Makefile	Wed May 17 00:10:33 2006
+++ mecab/Makefile	Sat May 20 22:18:09 2006
@@ -28,6 +28,12 @@
 
 DOCS=		AUTHORS README doc/*.html
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE=		requires perl 5.8.x or later.  Install lang/perl5.8 and try again
+.endif
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
@@ -41,4 +47,4 @@
 	${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
 			 -e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
end

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



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