aboutsummaryrefslogtreecommitdiff
path: root/security/pgpgpg
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-09-03 15:02:31 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2016-09-03 15:02:31 +0000
commitd9aefc78513bed2dac7863183ae44f0fc5d7e478 (patch)
treef502cf433a3103eb719f7e18d16027a77809f15c /security/pgpgpg
parent50b41275b11477cc932d86c894e12285b15d93f0 (diff)
downloadports-d9aefc78513bed2dac7863183ae44f0fc5d7e478.tar.gz
ports-d9aefc78513bed2dac7863183ae44f0fc5d7e478.zip
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.
Notes
Notes: svn path=/head/; revision=421294
Diffstat (limited to 'security/pgpgpg')
-rw-r--r--security/pgpgpg/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/security/pgpgpg/Makefile b/security/pgpgpg/Makefile
index 37490f04d122..23894347c786 100644
--- a/security/pgpgpg/Makefile
+++ b/security/pgpgpg/Makefile
@@ -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>