svn commit: r421294 - head/security/pgpgpg
Adam Weinberger
adamw at FreeBSD.org
Sat Sep 3 15:02:32 UTC 2016
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 at 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>
More information about the svn-ports-all
mailing list