aboutsummaryrefslogtreecommitdiff
path: root/security/pecl-ssh2
diff options
context:
space:
mode:
Diffstat (limited to 'security/pecl-ssh2')
-rw-r--r--security/pecl-ssh2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/pecl-ssh2/Makefile b/security/pecl-ssh2/Makefile
index 4e0f78d538c1..82cac7972d93 100644
--- a/security/pecl-ssh2/Makefile
+++ b/security/pecl-ssh2/Makefile
@@ -11,7 +11,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= miwi@FreeBSD.org
COMMENT= A PECL extension to the libssh2 library
-LIB_DEPENDS= ssh2:${PORTSDIR}/security/libssh2
+LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2
USE_PHP= yes
USE_PHPEXT= yes
@@ -21,9 +21,7 @@ LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS}
CONFIGURE_ARGS= --with-ssh2
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>