- 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>
This commit is contained in:
Ryan Steinmetz
2011-09-26 21:26:45 +00:00
parent 5608852404
commit f93892c8fa

View File

@@ -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