Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2016 15:02:31 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421294 - head/security/pgpgpg
Message-ID:  <201609031502.u83F2VPS009302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Sep  3 15:02:31 2016
New Revision: 421294
URL: https://svnweb.freebsd.org/changeset/ports/421294

Log:
  Fix dependencies and path to gpg.
  
  Looking in ${PREFIX} for the binaries is definitely wrong, so use
  ${LOCALBASE} instead. While here, just depend on the gnupg1 package
  itself.
  
  Also, remove a pointless comment that describes what a normal need for
  BUILD and RUN dependencies is.

Modified:
  head/security/pgpgpg/Makefile

Modified: head/security/pgpgpg/Makefile
==============================================================================
--- head/security/pgpgpg/Makefile	Sat Sep  3 11:45:42 2016	(r421293)
+++ head/security/pgpgpg/Makefile	Sat Sep  3 15:02:31 2016	(r421294)
@@ -12,15 +12,11 @@ MASTER_SITES=	PACKETSTORM/crypt/pgpgpg \
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Wrapper for GnuPG to simulate PGP 2.6.x
 
-# BUILD_DEPENDS is necessary because the configure script will bomb out
-# if it can't find gpg.  RUN_DEPENDS is necessary to make the package
-# dependency register correctly.  Hence the apparent redundancy.
-
-BUILD_DEPENDS=	${PREFIX}/bin/gpgv:security/gnupg1
-RUN_DEPENDS=	${PREFIX}/bin/gpgv:security/gnupg1
+BUILD_DEPENDS=	gnupg1>=0:security/gnupg1
+RUN_DEPENDS=	gnupg1>=0:security/gnupg1
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-gpg-path=${PREFIX}/bin/gpg
+CONFIGURE_ARGS=	--with-gpg-path=${LOCALBASE}/bin/gpg
 PLIST_FILES=	bin/pgpgpg
 
 .include <bsd.port.mk>



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