ports/164355: misc/gpt will not install using pkg_add

Mel Flynn rflynn at acsalaska.net
Mon Feb 20 21:30:12 UTC 2012


The following reply was made to PR ports/164355; it has been noted by GNATS.

From: Mel Flynn <rflynn at acsalaska.net>
To: bug-followup at FreeBSD.org, eb30750 at gmail.com
Cc:  
Subject: Re: ports/164355: misc/gpt will not install using pkg_add
Date: Mon, 20 Feb 2012 22:22:20 +0100

 This is a multi-part message in MIME format.
 --------------030701020600000503050900
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
 the port is missing a few runtime dependencies that make the exec
 command fail. Attached patch fixes things, but since I'm not a user of
 the software can't verify if it'll fix all it's problems.
 
 -- 
 Mel
 
 --------------030701020600000503050900
 Content-Type: text/plain;
  name="patch-misc__gpt.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-misc__gpt.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/misc/gpt/Makefile,v
 retrieving revision 1.14
 diff -u -r1.14 Makefile
 --- Makefile	21 Sep 2010 07:56:37 -0000	1.14
 +++ Makefile	20 Feb 2012 21:12:19 -0000
 @@ -7,7 +7,7 @@
  
  PORTNAME=	gpt
  PORTVERSION=	3.2
 -PORTREVISION=	4
 +PORTREVISION=	5
  CATEGORIES=	misc archivers devel parallel
  MASTER_SITES=	ftp://ftp.globus.org/pub/gt4/4.0/4.0.0/gpt/
  DISTNAME=	gpt-${PORTVERSION}autotools2004-src
 @@ -20,7 +20,9 @@
  RUN_DEPENDS+=	${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
  		${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
  		${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \
 -		${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch
 +		${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch \
 +		unzip:${PORTSDIR}/archivers/unzip \
 +		gmake:${PORTSDIR}/devel/gmake
  
  USE_PERL5=	yes
  WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}autotools2004
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/misc/gpt/pkg-plist,v
 retrieving revision 1.3
 diff -u -r1.3 pkg-plist
 --- pkg-plist	2 Mar 2006 22:39:14 -0000	1.3
 +++ pkg-plist	20 Feb 2012 21:12:19 -0000
 @@ -132,5 +132,5 @@
  @dirrm %%DATADIR%%/aclocal
  @dirrm %%DATADIR%%/amdir
  @dirrm %%DATADIR%%
 - at exec PATH=%%LOCALBASE%%/bin:${PATH} GPT_LOCATION=%D %D/sbin/gpt-config -probe -perl=%%PERL%%
 + at exec PATH=%%LOCALBASE%%/bin:${PATH} GPT_LOCATION=%D %D/sbin/gpt-config -probe -perl=%%PERL%% -gmake=%%LOCALBASE%%/bin/gmake -tar=/usr/bin/tar -unzip=%%LOCALBASE%%/bin/unzip
  @unexec echo "Configuration information saved.  If you will *NOT* use this package" && echo "anymore, please remove /var/db/gpt and its contents manually."
 
 --------------030701020600000503050900--



More information about the freebsd-ports-bugs mailing list