The gnupg* dependency is needed in BUILD_DEPENDS too.

Not firing on all cylinders:	dougb
Approved by:	portmgr (pav)
This commit is contained in:
Doug Barton 2007-12-08 23:44:26 +00:00
parent 3e1df12f13
commit e4b22bab3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202925

View file

@ -24,8 +24,10 @@ RUN_DEPENDS= pine:${PORTSDIR}/mail/pine4
# We want to be version-agnostic here, but also record the right dependency
# if the user installs the package and already has one or the other installed.
.if exists(${LOCALBASE}/bin/gpg2)
BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
.else
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg1
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1
.endif