diff options
author | leeym <leeym@FreeBSD.org> | 2005-09-27 14:19:04 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-09-27 14:19:04 +0800 |
commit | 54fa4d3933576d8717abea9677a3d98bca35010c (patch) | |
tree | 3352cf9ee4e6268a3485883afa0230d6fd9e1d47 /textproc/p5-Senna | |
parent | c47463de459eedb4c0143021e043116371cd1a3a (diff) | |
download | freebsd-ports-gnome-54fa4d3933576d8717abea9677a3d98bca35010c.tar.gz freebsd-ports-gnome-54fa4d3933576d8717abea9677a3d98bca35010c.tar.zst freebsd-ports-gnome-54fa4d3933576d8717abea9677a3d98bca35010c.zip |
- p5-Senna depends on senna
- it can't be compiled under perl 5.00503, so mark it IGNORE
PR: 85940
Submitted by: leeym
Approved by: maintainer timeout
Diffstat (limited to 'textproc/p5-Senna')
-rw-r--r-- | textproc/p5-Senna/Makefile | 11 | ||||
-rw-r--r-- | textproc/p5-Senna/files/patch-Senna.xs | 11 |
2 files changed, 21 insertions, 1 deletions
diff --git a/textproc/p5-Senna/Makefile b/textproc/p5-Senna/Makefile index d884a170a38c..c46738bef7bc 100644 --- a/textproc/p5-Senna/Makefile +++ b/textproc/p5-Senna/Makefile @@ -15,6 +15,9 @@ DISTNAME= ${PORTNAME}-snap-${SNAPREV} MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl module for Embeddable Fulltext Search Engine +BUILD_DEPENDS= senna-cfg:${PORTSDIR}/textproc/senna +RUN_DEPENDS= ${BUILD_DEPENDS} + WRKSRC= ${WRKDIR}/${PORTNAME} PERL_MODBUILD= YES CFLAGS+= -I${LOCALBASE}/include @@ -27,4 +30,10 @@ tardist: tar cfvz ${PORTNAME}-snap-${SNAPREV}.tar.gz Senna ${RM} -rf Senna -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-Senna/files/patch-Senna.xs b/textproc/p5-Senna/files/patch-Senna.xs new file mode 100644 index 000000000000..a2fefadd8218 --- /dev/null +++ b/textproc/p5-Senna/files/patch-Senna.xs @@ -0,0 +1,11 @@ +--- Senna.xs.orig Sat Sep 10 18:04:30 2005 ++++ Senna.xs Sat Sep 10 18:04:43 2005 +@@ -13,7 +13,7 @@ + #define NEED_sv_2pv_nolen + #include "ppport.h" + +-#include <senna/senna.h> ++#include <senna.h> + + #define MAX_INDEX_PATH_LEN 512 + #define SENNA_MAX_KEY_LEN 8024 |