pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/p5-GD don't hard-code prefix, pass it to Make...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af2e21c427a1
branches:  trunk
changeset: 462441:af2e21c427a1
user:      explorer <explorer%pkgsrc.org@localhost>
date:      Fri Oct 03 03:10:57 2003 +0000

description:
don't hard-code prefix, pass it to Makefile.PL

diffstat:

 graphics/p5-GD/Makefile         |  3 ++-
 graphics/p5-GD/distinfo         |  4 ++--
 graphics/p5-GD/patches/patch-aa |  5 ++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r e62b6a91c8d3 -r af2e21c427a1 graphics/p5-GD/Makefile
--- a/graphics/p5-GD/Makefile   Fri Oct 03 02:59:10 2003 +0000
+++ b/graphics/p5-GD/Makefile   Fri Oct 03 03:10:57 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2003/10/02 04:32:41 explorer Exp $
+# $NetBSD: Makefile,v 1.17 2003/10/03 03:10:57 explorer Exp $
 #
 
 DISTNAME=      GD-2.07
@@ -17,6 +17,7 @@
 PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/GD/.packlist
 
 MAKE_ENV+=             GD_LIBS="${LDFLAGS}"
+MAKE_PARAMS+=          -lib_gd_path=${PREFIX}
 
 .include "../../graphics/gd/buildlink2.mk"
 .include "../../lang/perl5/module.mk"
diff -r e62b6a91c8d3 -r af2e21c427a1 graphics/p5-GD/distinfo
--- a/graphics/p5-GD/distinfo   Fri Oct 03 02:59:10 2003 +0000
+++ b/graphics/p5-GD/distinfo   Fri Oct 03 03:10:57 2003 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2003/10/02 04:32:41 explorer Exp $
+$NetBSD: distinfo,v 1.6 2003/10/03 03:10:57 explorer Exp $
 
 SHA1 (GD-2.07.tar.gz) = 417161314db6e5c6c3059c4fe38c10f8e531b7fc
 Size (GD-2.07.tar.gz) = 153759 bytes
-SHA1 (patch-aa) = b637fc462051273c3258c094028409278c0bf8d4
+SHA1 (patch-aa) = 35ccf68dfc1ee268a4ffd431bb7ab29a7c7f59e9
diff -r e62b6a91c8d3 -r af2e21c427a1 graphics/p5-GD/patches/patch-aa
--- a/graphics/p5-GD/patches/patch-aa   Fri Oct 03 02:59:10 2003 +0000
+++ b/graphics/p5-GD/patches/patch-aa   Fri Oct 03 03:10:57 2003 +0000
@@ -1,13 +1,12 @@
-$NetBSD: patch-aa,v 1.5 2003/10/02 04:32:41 explorer Exp $
+$NetBSD: patch-aa,v 1.6 2003/10/03 03:10:57 explorer Exp $
 
 --- Makefile.PL.orig   2003-04-24 07:05:26.000000000 +0200
 +++ Makefile.PL        2003-06-23 13:59:32.000000000 +0200
-@@ -98,7 +99,7 @@
+@@ -98,7 +99,6 @@
  if( ! defined($lib_gd_path) )
  {
    warn "\n";
 -  $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
-+  $PREFIX = '/usr/pkg/lib';
  }
  
  unless ($PREFIX eq '/usr/lib') {



Home | Main Index | Thread Index | Old Index