diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2016-09-03 15:02:31 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2016-09-03 15:02:31 +0000 |
commit | d9aefc78513bed2dac7863183ae44f0fc5d7e478 (patch) | |
tree | f502cf433a3103eb719f7e18d16027a77809f15c /security/pgpgpg | |
parent | 50b41275b11477cc932d86c894e12285b15d93f0 (diff) | |
download | ports-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/Makefile | 10 |
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> |