aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-09-27 05:26:45 +0800
committerzi <zi@FreeBSD.org>2011-09-27 05:26:45 +0800
commit90c04dfcb78e3953a5d079de60b55fc8d9b1bce7 (patch)
treee198c5c7b5b253dd3938823ba4101d089c6d68ad /security
parentb4574ef1c03a80e5a668bc0d98383df69583a194 (diff)
downloadfreebsd-ports-gnome-90c04dfcb78e3953a5d079de60b55fc8d9b1bce7.tar.gz
freebsd-ports-gnome-90c04dfcb78e3953a5d079de60b55fc8d9b1bce7.tar.zst
freebsd-ports-gnome-90c04dfcb78e3953a5d079de60b55fc8d9b1bce7.zip
- Fix build when WITH_SSH is used
- No need to bump PORTREVISION PR: ports/161039 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer) Reported by: Jason Hellenthal <jhell@DataIX.net>
Diffstat (limited to 'security')
-rw-r--r--security/hydra/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/hydra/Makefile b/security/hydra/Makefile
index 50d502953679..c299cf0bdcd0 100644
--- a/security/hydra/Makefile
+++ b/security/hydra/Makefile
@@ -45,6 +45,7 @@ LIB_DEPENDS+= fbclient.2:${PORTSDIR}/databases/firebird20-client
.endif
.if defined(WITH_SSH)
LIB_DEPENDS+= ssh.4:${PORTSDIR}/security/libssh
+CFLAGS+= -I${LOCALBASE}/include
.endif
.if defined(WITH_SVN)
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
@@ -59,6 +60,7 @@ CONFIGURE_ARGS+= --disable-xhydra
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|CC = gcc||; \
s|-O2|${CFLAGS}|; s|md4\..||g' \
${WRKSRC}/Makefile.am