1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix post-install target.

Noticed by:	pointyhat (via kris)
This commit is contained in:
Alexander Leidinger 2005-04-23 10:34:09 +00:00
parent 7d506050c8
commit 14663c511b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133989

View File

@ -7,6 +7,7 @@
PORTNAME= libssh2
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -28,7 +29,7 @@ post-patch:
@${REINPLACE_CMD} -e 's:-lcrypto:-lcrypto -lm:g' ${WRKSRC}/configure
post-install:
@${MV} ${PREFIX}/lib/libssh2.so ${PREFIX}/lib/libssh2.so.0
@cd ${PREFIX}; ${LN} -s libssh2.so.0 libssh2.so
${MV} ${PREFIX}/lib/libssh2.so ${PREFIX}/lib/libssh2.so.0
cd ${PREFIX}/lib; ${LN} -s libssh2.so.0 libssh2.so
.include <bsd.port.mk>