diff options
author | obache <obache> | 2007-08-18 11:10:08 +0000 |
---|---|---|
committer | obache <obache> | 2007-08-18 11:10:08 +0000 |
commit | 5a3bb6ec2f6ffd58d26ae2c78f563f437b0a092d (patch) | |
tree | 283627ab6f65769b82a5001d8a1e31a0619b5274 /security | |
parent | 37c00561124be5eb3149947056e75ca1f19080a9 (diff) | |
download | pkgsrc-5a3bb6ec2f6ffd58d26ae2c78f563f437b0a092d.tar.gz |
Fix build problem on ssh-less environment, reported in PR 36793.
Let to depend on ssh package.
Diffstat (limited to 'security')
-rw-r--r-- | security/seahorse/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index a2e9d52831e..fb3f3173e74 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2007/08/18 07:28:48 obache Exp $ +# $NetBSD: Makefile,v 1.64 2007/08/18 11:10:08 obache Exp $ DISTNAME= seahorse-1.0.1 PKGREVISION= 1 @@ -12,6 +12,17 @@ COMMENT= GnuPG front end and bonobo component for GNOME DEPENDS+= gnupg>=1.2.1:../../security/gnupg +.if exists(/usr/bin/ssh) && exists(/usr/bin/ssh-add) && exists(/usr/bin/ssh-keygen) +SSH_PATH=/usr/bin/ssh +SSH_ADD_PATH=/usr/bin/ssh-add +SSH_KEYGEN_PATH=/usr/bin/ssh-keygen +.else +DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh +SSH_PATH=${PREFIX}/bin/ssh +SSH_ADD_PATH=${PREFIX}/bin/ssh-add +SSH_KEYGEN_PATH=${PREFIX}/ssh-keygen +.endif + GNU_CONFIGURE= yes USE_DIRS+= gnome2-1.5 USE_TOOLS+= gmake intltool msgfmt pkg-config @@ -20,6 +31,9 @@ USE_PKGLOCALEDIR= yes CONFIGURE_ARGS+= --disable-gedit CONFIGURE_ARGS+= --disable-nautilus +CONFIGURE_ENV+= SSH_PATH=${SSH_PATH:Q} +CONFIGURE_ENV+= SSH_ADD_PATH=${SSH_ADD_PATH:Q} +CONFIGURE_ENV+= SSH_KEYGEN_PATH=${SSH_KEYGEN_PATH:Q} PKGCONFIG_OVERRIDE+= libcryptui/cryptui.pc.in GCONF2_SCHEMAS= seahorse.schemas |