Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 17:08:10 -0800
From:      "Bruce A. Mah" <bmah@FreeBSD.ORG>
To:        John Baldwin <jhb@FreeBSD.ORG>, nik@FreeBSD.ORG, doc@FreeBSD.ORG
Cc:        bmah@FreeBSD.ORG
Subject:   Re: Doc Build broken *sigh* 
Message-ID:  <200102240108.f1O18AQ64347@bmah-freebsd-0.cisco.com>
In-Reply-To: <200102232334.f1NNYPc60652@bmah-freebsd-0.cisco.com> 
References:  <XFMail.010223151205.jhb@FreeBSD.org> <200102232334.f1NNYPc60652@bmah-freebsd-0.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-1718563204P
Content-Type: text/plain; charset=us-ascii

I wrote:

> Urk.  Nik needs to patch the eps2png port to teach it the right location
> of perl (there was a brief thread on this on some list that I can't
> remember).  The patch below fixes the port by adding a patchfile and
> bumping PORTREVISION.
> 
> It worked for me, but I didn't want to commit this without Nik's OK.

[snip]

I didn't like that patch.  Let's try that again, this time with a 
solution that only touches the Makefile and doesn't require an extra 
patchfile.

Bruce.

diff -cr /usr/ports/graphics/eps2png/Makefile eps2png/Makefile
*** /usr/ports/graphics/eps2png/Makefile        Fri Feb 23 15:31:50 2001
--- eps2png/Makefile    Fri Feb 23 17:05:40 2001
***************
*** 7,12 ****
--- 7,13 ----
  
  PORTNAME=     eps2png
  PORTVERSION=  1.7
+ PORTREVISION= 1
  CATEGORIES=   graphics
  MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
  MASTER_SITE_SUBDIR=   ../../authors/Johan_Vromans
***************
*** 18,23 ****
--- 19,27 ----
  USE_PERL5=    yes
  PERL_CONFIGURE=       yes
  
+ pre-patch:
+       perl -pi -e 's,/opt/perl-5.6.0/bin/perl,/usr/bin/perl,' \
+               ${INSTALL_WRKSRC}/script/${PORTNAME}
  do-install:
        ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/script/${PORTNAME} ${PREFIX}/bin
  





--==_Exmh_-1718563204P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: Exmh version 2.2 06/23/2000

iD8DBQE6lwl62MoxcVugUsMRAmBVAKDB2i2FIZ7IabxrksfKcZzQQdJspQCfetxf
FKC8hTX/uNnWL7Ws++aCb6o=
=ie0w
-----END PGP SIGNATURE-----

--==_Exmh_-1718563204P--

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




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