Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 00:30:11 -0800 (PST)
From:      "Philip M. Gollucci" <philip@p6m7g8.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/49097: New Port graphics/p5-GD2
Message-ID:  <200303110830.h2B8UBHo022969@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/49097; it has been noted by GNATS.

From: "Philip M. Gollucci" <philip@p6m7g8.net>
To: freebsd-gnats-submit@FreeBSD.org, philip@p6m7g8.com
Cc:  
Subject: Re: ports/49097: New Port graphics/p5-GD2
Date: Tue, 11 Mar 2003 03:25:27 +0000

 --------------Boundary-00=_FUEKG1JU7M4A9M9F3SOC
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 I've been told to ask for a repo copy for this port.
 So, I've attached the added file
 files/patch-Makefile.PL
 
 and a cvs diff -u against the original p5-GD
 
 
 --=20
 END=20
 -------------------------------------------------------------------------=
 -----=20
 Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)=20
 
 Science, Discovery, & the Universe (UMCP)=20
 Webmaster & Webship Teacher=20
 URL: http://www.sdu.umd.edu=20
 
 eJournalPress=20
 Database/PERL Programmer & System Admin=20
 URL : http://www.ejournalpress.com=20
 
 Resume : http://p6m7g8.net/Resume=20
 
 
 --------------Boundary-00=_FUEKG1JU7M4A9M9F3SOC
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="patch-Makefile.PL"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="patch-Makefile.PL"
 
 --- Makefile.PL.orig   Wed Nov 27 16:29:57 2002
 +++ Makefile.PL        Tue Mar 11 01:17:10 2003
 @@ -6,46 +6,23 @@
  
  
  # =====> PATHS: CHECK AND ADJUST <=====
 -my @INC     = qw(-I/usr/local/include -I/usr/local/include/gd);
 -my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib);
 -my @LIBS    = qw(-lgd -lpng -lz);
 -
 -if ($^O eq 'VMS'){
 -  warn "This is a build on OpenVMS. In case of problems with the build\n";
 -  warn "do not bother Lincoln Stein but get in touch with\n";
 -  warn "Martin P.J. Zinser (zinser\@decus.de)\n\n";
 -
 -  if ($ENV{"LIB_ROOT"} eq "") {
 -    warn "Define lib_root as a concealed logical pointing to the\n";
 -    warn "Top directory where you have your libraries installed\n";
 -    warn "E.g. define/job/trans=conc lib_root public$device:[public.util.libs.]\n";
 -    warn "Also define the logical pubbin to point to the location\n";
 -    warn "of the object libraries\n";
 -    warn "Then re-invoke Makefile.PL\n";
 -    warn "Exiting now...\n";
 -    exit;
 -  }
 -
 -  @INC     = qw(-I/lib_root/gd -I/lib_root/libpng -I/lib_root/zlib);
 -  @LIBPATH = qw(-Lpubbin);
 -  @LIBS    = qw(-llibgd.olb -llibpng.olb -llibz.olb);
 -}
 +my @INC     = qw(-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11);
 +my @LIBPATH = qw(-L/usr/local/lib -L/usr/X11R6/lib);
 +my @LIBS    = qw(-lfreetype -ljpeg -lgd -lpng -lz);
  
  # path to libgd
  warn "\n";
 -my $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
 +my $PREFIX = "/usr/local/lib";
 +
  unless ($PREFIX eq '/usr/lib') {
    $PREFIX =~ s!/lib$!!;
    unshift @INC,"-I$PREFIX/include";
    unshift @LIBPATH,"-L$PREFIX/lib";
  }
  
 -# FEATURE FLAGS
 -warn "\nPlease choose the features that match how libgd was built:\n";
 -
 -my $JPEG    = lc prompt('Build JPEG support?','y') eq 'y';
 -my $FT      = lc prompt('Build FreeType support?','y') eq 'y';
 -my $XPM     = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
 +$JPEG=1;
 +$FT=1;
 +$XPM=1;
  
  my $FCGI    = 0;   # set to 1 to build compatability with fastCGI
  
 @@ -61,16 +38,13 @@
  push @INC, '-I/lib_root/ft2/include/freetype' if ($FT && $^O eq 'VMS');
  push @INC, '-I/X11' if ($XPM && $^O eq 'VMS');
  
 -# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified 
 -if ($^O ne 'freebsd' && $^O ne 'MSWin32') { 
 +if ($^O ne 'MSWin32') { 
    push @LIBS,'-lX11','-lXpm' if $XPM; 
  } 
  
  my $CAPI = defined $ExtUtils::MakeMaker::CAPI_support ? 'TRUE' : 'FALSE';
 -my $DEFINES = '';
 -$DEFINES    .= ' -DHAVE_JPEG' if $JPEG;
 -$DEFINES    .= ' -DHAVE_FT'   if $FT;
 -$DEFINES    .= ' -DHAVE_XPM'  if $XPM;
 ++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF';
 ++$DEFINES    .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
  $DEFINES    .= ' -DFCGI'      if $FCGI;
  
  WriteMakefile(
 
 --------------Boundary-00=_FUEKG1JU7M4A9M9F3SOC
 Content-Type: text/plain;
   charset="us-ascii";
   name="diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline; filename="diff.txt"
 
 ? diff.txt
 ? files/patch-Makefile.PL
 cvs server: Diffing .
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/graphics/p5-GD/Makefile,v
 retrieving revision 1.30
 diff -u -r1.30 Makefile
 --- Makefile	2003/02/20 18:08:10	1.30
 +++ Makefile	2003/03/11 08:23:28
 @@ -1,25 +1,26 @@
 -# New ports collection makefile for:    p5-GD
 -# Date created:				June 26th 1997
 -# Whom:	      				James FitzGibbon <jfitz@FreeBSD.org>
 +# New ports collection makefile for:    p5-GD2
 +# Date created:                                March 11, 2003
 +# Whom:                                        Philip M. Gollucci <philip@p6m7g8.com>
  #
 -# $FreeBSD: ports/graphics/p5-GD/Makefile,v 1.30 2003/02/20 18:08:10 knu Exp $
 +# $FreeBSD$
  #
  
 -PORTNAME=	GD
 -PORTVERSION=	1.41
 -CATEGORIES=	graphics perl5
 -MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 -MASTER_SITE_SUBDIR=	GD
 -PKGNAMEPREFIX=	p5-
 +PORTNAME=      GD
 +PORTVERSION=   2.06
 +CATEGORIES=    graphics perl5
 +MASTER_SITES=  ${MASTER_SITE_PERL_CPAN}
 +MASTER_SITE_SUBDIR=    GD
 +PKGNAMEPREFIX= p5-
  
 -MAINTAINER=	ports@FreeBSD.org
 -COMMENT=	A perl5 interface to Gd Graphics Library
 +MAINTAINER=    philip@p6m7g8.com
 +COMMENT=       A perl5 interface to Gd Graphics Library version2
  
 -LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
 +LIB_DEPENDS=   gd.2:${PORTSDIR}/graphics/gd2
  
 -PERL_CONFIGURE=	yes
 +PERL_CONFIGURE=        yes
  
 -MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 -MAN3=		GD.3
 +MANPREFIX=     ${PREFIX}/lib/perl5/${PERL_VERSION}
 +MAN3=          GD.3 \
 +               GD::Polyline.3
  
  .include <bsd.port.mk>
 Index: distinfo
 ===================================================================
 RCS file: /home/ncvs/ports/graphics/p5-GD/distinfo,v
 retrieving revision 1.11
 diff -u -r1.11 distinfo
 --- distinfo	2002/09/11 11:00:33	1.11
 +++ distinfo	2003/03/11 08:23:28
 @@ -1 +1 @@
 -MD5 (GD-1.41.tar.gz) = 9f11b3f6bb73f04d2bc3f02df0662bdd
 +MD5 (GD-2.06.tar.gz) = 90025c06e22c91e22588cee1567d3c7c
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/graphics/p5-GD/pkg-plist,v
 retrieving revision 1.8
 diff -u -r1.8 pkg-plist
 --- pkg-plist	2000/11/12 02:37:38	1.8
 +++ pkg-plist	2003/03/11 08:23:28
 @@ -1,5 +1,5 @@
  lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/GD.pm
 -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/patch_gd.pl
 +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/GD/Polyline.pm
  lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/qd.pl
  lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GD/.packlist
  lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/GD/GD.bs
 cvs server: Diffing files
 cvs server: cannot find files/patch-aa
 
 --------------Boundary-00=_FUEKG1JU7M4A9M9F3SOC--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303110830.h2B8UBHo022969>