aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-01-02 03:43:50 +0800
committerleeym <leeym@FreeBSD.org>2006-01-02 03:43:50 +0800
commit07ee25198429047e6639706c7f9f36182786a5f3 (patch)
tree6d6978109657426f93cdadd83a5402f52e6388c6 /net
parente293e7fbe79f8dc11ef755c14ad84e96b323c66d (diff)
downloadfreebsd-ports-gnome-07ee25198429047e6639706c7f9f36182786a5f3.tar.gz
freebsd-ports-gnome-07ee25198429047e6639706c7f9f36182786a5f3.tar.zst
freebsd-ports-gnome-07ee25198429047e6639706c7f9f36182786a5f3.zip
- unbreak this port under old perl
- use MASTER_SITE_PERL_CPAN instead PR: 90543 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Z3950-SimpleServer/Makefile10
-rw-r--r--net/p5-Net-Z3950-SimpleServer/distinfo5
2 files changed, 10 insertions, 5 deletions
diff --git a/net/p5-Net-Z3950-SimpleServer/Makefile b/net/p5-Net-Z3950-SimpleServer/Makefile
index bd65d1c62306..11f48ce0edb1 100644
--- a/net/p5-Net-Z3950-SimpleServer/Makefile
+++ b/net/p5-Net-Z3950-SimpleServer/Makefile
@@ -8,7 +8,8 @@
PORTNAME= Net-Z3950-SimpleServer
PORTVERSION= 0.08
CATEGORIES= net perl5
-MASTER_SITES= http://ftp.indexdata.dk/pub/simpleserver/
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
@@ -17,14 +18,17 @@ COMMENT= A Perl module for developing Z39.50 servers
LIB_DEPENDS= yaz.2:${PORTSDIR}/net/yaz
PERL_CONFIGURE= yes
-CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
+CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
MAN3= Net::Z3950::GRS1.3 Net::Z3950::SimpleServer.3
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD 4.x"
+post-patch:
+ ${REINPLACE_CMD} -e 's/PERL_GET_CONTEXT/(PL_curinterp)/g' ${WRKSRC}/SimpleServer.xs
+ ${REINPLACE_CMD} -e 's/PERL_SET_CONTEXT/(PL_curinterp)=/g' ${WRKSRC}/SimpleServer.xs
+ ${REINPLACE_CMD} -e '/LIBS/s/=>.*/=> "$$libs -lc_r",/' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>
diff --git a/net/p5-Net-Z3950-SimpleServer/distinfo b/net/p5-Net-Z3950-SimpleServer/distinfo
index 7b1f14571537..f0673a6970e0 100644
--- a/net/p5-Net-Z3950-SimpleServer/distinfo
+++ b/net/p5-Net-Z3950-SimpleServer/distinfo
@@ -1,2 +1,3 @@
-MD5 (Net-Z3950-SimpleServer-0.08.tar.gz) = 4a22a5f806f8a7719c6bb4514e7b0d03
-SIZE (Net-Z3950-SimpleServer-0.08.tar.gz) = 24667
+MD5 (Net-Z3950-SimpleServer-0.08.tar.gz) = 56e768945d4f7150f6cab1b1958a137e
+SHA256 (Net-Z3950-SimpleServer-0.08.tar.gz) = 2bffc8cb59db4c52c8efb3609b55090eea87c33039097c6685dcf1a214070232
+SIZE (Net-Z3950-SimpleServer-0.08.tar.gz) = 24552