From 56bb7481ebe201666391c54f15d2267e2046b3f6 Mon Sep 17 00:00:00 2001 From: vanilla Date: Sun, 29 Apr 2001 19:02:29 +0000 Subject: Upgrade to 1.06. PR: ports/26956 Submitted by: maintainer --- www/p5-HTTP-GHTTP/Makefile | 4 ++-- www/p5-HTTP-GHTTP/distinfo | 2 +- www/p5-HTTP-GHTTP/files/patch-Makefile.PL | 36 +++++++++++++++++++++++++++++++ www/p5-HTTP-GHTTP/pkg-plist | 1 + 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 www/p5-HTTP-GHTTP/files/patch-Makefile.PL (limited to 'www/p5-HTTP-GHTTP') diff --git a/www/p5-HTTP-GHTTP/Makefile b/www/p5-HTTP-GHTTP/Makefile index b822161..d76d1c2 100644 --- a/www/p5-HTTP-GHTTP/Makefile +++ b/www/p5-HTTP-GHTTP/Makefile @@ -6,7 +6,7 @@ # PORTNAME= HTTP-GHTTP -PORTVERSION= 1.02 +PORTVERSION= 1.06 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= HTTP @@ -17,7 +17,7 @@ MAINTAINER= skv@protey.ru LIB_DEPENDS= ghttp.1:${PORTSDIR}/www/libghttp PERL_CONFIGURE= yes -CONFIGURE_ARGS+= LIBS="-L${LOCALBASE}/lib" INC="-I${LOCALBASE}/include" +CONFIGURE_ARGS= LIBS="-L${LOCALBASE}/lib -lghttp" INC="-I${LOCALBASE}/include" MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= HTTP::GHTTP.3 diff --git a/www/p5-HTTP-GHTTP/distinfo b/www/p5-HTTP-GHTTP/distinfo index 594ca0a..915e7fa 100644 --- a/www/p5-HTTP-GHTTP/distinfo +++ b/www/p5-HTTP-GHTTP/distinfo @@ -1 +1 @@ -MD5 (HTTP-GHTTP-1.02.tar.gz) = ff3d7d1cd76e68cc56d745b7a14eb002 +MD5 (HTTP-GHTTP-1.06.tar.gz) = ff1c5f9bad20a57a396500c020dcef68 diff --git a/www/p5-HTTP-GHTTP/files/patch-Makefile.PL b/www/p5-HTTP-GHTTP/files/patch-Makefile.PL new file mode 100644 index 0000000..5f9b057 --- /dev/null +++ b/www/p5-HTTP-GHTTP/files/patch-Makefile.PL @@ -0,0 +1,36 @@ +*** Makefile.PL.orig Sun Apr 29 18:31:49 2001 +--- Makefile.PL Sun Apr 29 18:32:01 2001 +*************** +*** 14,20 **** + } + + my $DEBUG = delete $config{DEBUG}; +! + # get libs and inc from gnome-config + eval { + print "running gnome-config... "; +--- 14,20 ---- + } + + my $DEBUG = delete $config{DEBUG}; +! =item + # get libs and inc from gnome-config + eval { + print "running gnome-config... "; +*************** +*** 57,63 **** + } + + have_library("ghttp", "ghttp_get_header_names"); +! + WriteMakefile( + 'NAME' => 'HTTP::GHTTP', + 'VERSION_FROM' => 'GHTTP.pm', # finds $VERSION +--- 57,63 ---- + } + + have_library("ghttp", "ghttp_get_header_names"); +! =cut + WriteMakefile( + 'NAME' => 'HTTP::GHTTP', + 'VERSION_FROM' => 'GHTTP.pm', # finds $VERSION diff --git a/www/p5-HTTP-GHTTP/pkg-plist b/www/p5-HTTP-GHTTP/pkg-plist index f48f4a3..9132b55 100644 --- a/www/p5-HTTP-GHTTP/pkg-plist +++ b/www/p5-HTTP-GHTTP/pkg-plist @@ -1,3 +1,4 @@ +bin/g-request lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTTP/GHTTP/.packlist lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/HTTP/GHTTP.pm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTTP/GHTTP/GHTTP.bs -- cgit v1.1