diff --git a/textproc/p5-XML-Sablotron/Makefile b/textproc/p5-XML-Sablotron/Makefile index bdca850eec7d..0f4ea7544da1 100644 --- a/textproc/p5-XML-Sablotron/Makefile +++ b/textproc/p5-XML-Sablotron/Makefile @@ -6,16 +6,19 @@ # PORTNAME= XML-Sablotron -PORTVERSION= 0.51 +PORTVERSION= 0.52 CATEGORIES= textproc perl5 MASTER_SITES= http://download.gingerall.cz/sablot/ PKGNAMEPREFIX= p5- MAINTAINER= skv@protey.ru -LIB_DEPENDS= sablot.51:${PORTSDIR}/textproc/sablotron +LIB_DEPENDS= sablot.52:${PORTSDIR}/textproc/sablotron \ + iconv.2:${PORTSDIR}/converters/iconv PERL_CONFIGURE= yes +CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \ + INC='-I${LOCALBASE}/include' MAN3= XML::Sablotron.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} diff --git a/textproc/p5-XML-Sablotron/distinfo b/textproc/p5-XML-Sablotron/distinfo index b312e4d50a54..1fffe0ad85f5 100644 --- a/textproc/p5-XML-Sablotron/distinfo +++ b/textproc/p5-XML-Sablotron/distinfo @@ -1 +1 @@ -MD5 (XML-Sablotron-0.51.tar.gz) = 98b75826c41bc35346b4585ae2d133f5 +MD5 (XML-Sablotron-0.52.tar.gz) = c5ae053e61b6b61908d2f67dd7759923 diff --git a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL index 8aaf1b18fe1e..2d4d06a6f324 100644 --- a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL +++ b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL @@ -1,19 +1,22 @@ ---- Makefile.PL.orig Tue Jan 30 22:55:23 2001 -+++ Makefile.PL Fri Feb 23 10:50:59 2001 -@@ -61,6 +61,7 @@ - $config{LIBS} .= ' -lexpat'; - } - -+=item - have_library('expat', 'main', '') || die < 'XML::Sablotron', +*** Makefile.PL.orig Sun Apr 29 14:54:12 2001 +--- Makefile.PL Sun Apr 29 14:55:07 2001 +*************** +*** 45,50 **** +--- 45,51 ---- + + my $DEBUG = delete $config{DEBUG}; + ++ =item + if (delete $config{CHARLIE}) { + $config{LIBS} = "-L$ENV{CHARLIE_HOME}/lib -lsablot -lexpat"; + $config{INC} = '-I$(CHARLIE_HOME)/include'; +*************** +*** 96,101 **** +--- 97,103 ---- + \$ $^X Makefile.PL LIBS='-L/path/to/sablot/lib -lexpat -lsablot' + + DEATH ++ =cut + + WriteMakefile( + NAME => 'XML::Sablotron',