summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-LibIDN/Makefile9
-rw-r--r--net/p5-Net-LibIDN/distinfo10
-rw-r--r--net/p5-Net-LibIDN/patches/patch-aa37
3 files changed, 28 insertions, 28 deletions
diff --git a/net/p5-Net-LibIDN/Makefile b/net/p5-Net-LibIDN/Makefile
index 776637e2d89..b89ef6f2456 100644
--- a/net/p5-Net-LibIDN/Makefile
+++ b/net/p5-Net-LibIDN/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2008/10/19 19:18:32 he Exp $
+# $NetBSD: Makefile,v 1.3 2009/03/01 21:49:54 sno Exp $
-DISTNAME= Net-LibIDN-0.11
+DISTNAME= Net-LibIDN-0.12
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
@@ -13,8 +12,8 @@ COMMENT= Perl bindings for GNU Libidn
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
-MAKE_PARAMS.makemaker+= --with-libidn=${PREFIX}/lib
-MAKE_PARAMS.makemaker+= --with-libidn-inc=${PREFIX}/include
+MAKE_PARAMS.makemaker+= --with-libidn=${BUILDLINK_DIR}/lib
+MAKE_PARAMS.makemaker+= --with-libidn-inc=${BUILDLINK_DIR}/include
PERL5_PACKLIST= auto/Net/LibIDN/.packlist
diff --git a/net/p5-Net-LibIDN/distinfo b/net/p5-Net-LibIDN/distinfo
index 8e501abcef9..4d0a7fd330b 100644
--- a/net/p5-Net-LibIDN/distinfo
+++ b/net/p5-Net-LibIDN/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
+$NetBSD: distinfo,v 1.2 2009/03/01 21:49:54 sno Exp $
-SHA1 (Net-LibIDN-0.11.tar.gz) = 702671498230e7f1da2046fb000bd7fcabb2cbdb
-RMD160 (Net-LibIDN-0.11.tar.gz) = 00b5714590527e9ef2d7ce94f88d937ffe414067
-Size (Net-LibIDN-0.11.tar.gz) = 14133 bytes
-SHA1 (patch-aa) = 663abae5d8a7aa7cb653da343160c058dcd11602
+SHA1 (Net-LibIDN-0.12.tar.gz) = ac446edf66ac523d5463b59ed9698e2ccb9b04ab
+RMD160 (Net-LibIDN-0.12.tar.gz) = a595c3758c9577b6d09d856cf220c303fdc3d2a2
+Size (Net-LibIDN-0.12.tar.gz) = 14262 bytes
+SHA1 (patch-aa) = 6adeaa4b44a84efc4d143377ff6ab579272162fa
diff --git a/net/p5-Net-LibIDN/patches/patch-aa b/net/p5-Net-LibIDN/patches/patch-aa
index f3dff6f0ddc..906b5f15688 100644
--- a/net/p5-Net-LibIDN/patches/patch-aa
+++ b/net/p5-Net-LibIDN/patches/patch-aa
@@ -1,21 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
-
---- Makefile.PL.orig 2008-08-26 19:39:22.000000000 +0200
-+++ Makefile.PL
-@@ -1,6 +1,7 @@
- use strict;
- use ExtUtils::MakeMaker;
- use Getopt::Long;
-+use Config;
+--- Makefile.PL.orig 2009-02-26 12:09:45.000000000 +0000
++++ Makefile.PL 2009-02-28 00:05:41.000000000 +0000
+@@ -47,15 +47,10 @@
+ "disable-tld" => \$disable_tld
+ );
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
-@@ -48,7 +49,7 @@ sub InitMakeParams
-
- if ($libdir)
- {
+- if ($libdir)
+- {
- $Params{LIBS} = "-L$libdir -lidn";
-+ $Params{LIBS} = $Config{ldflags} . " -lidn";
- }
- else
+- }
+- else
+- {
+- $Params{LIBS} = $Config{ldflags} . ' -lidn';
+- }
+-
++ $Params{LIBS} = $Config{ldflags};
++ $Params{LIBS} .= " -L$libdir" if ($libdir);
++ $Params{LIBS} .= " -lidn";
++
+ if ($incdir)
{
+ $Params{INC} = "-I$incdir";