ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/security/libssh2/Makefile
(Generate patch)

Comparing trunk/security/libssh2/Makefile (file contents):
Revision 24638 by laffer1, Sat May 12 20:52:28 2018 UTC vs.
Revision 24639 by laffer1, Thu Nov 22 02:07:33 2018 UTC

# Line 1 | Line 1
1   # $MidnightBSD$
2  
3   PORTNAME=       libssh2
4 < PORTVERSION=    1.4.3
5 < PORTEPOCH=      2
4 > PORTVERSION=    1.8.0
5 > PORTEPOCH=      3
6   CATEGORIES=     security devel
7   MASTER_SITES=   http://www.libssh2.org/download/ \
8                  FREEBSD_LOCAL/sbz
# Line 23 | Line 23 | OPTIONS_DEFAULT=       ZLIB
23   TRACE_DESC=     Enable debug packet traces
24  
25   TRACE_CONFIGURE_ENABLE= debug
26 < GCRYPT_LIB_DEPENDS=     libgcrypt.so:${PORTSDIR}/security/libgcrypt
27 < GCRYPT_CONFIGURE_ON=    --with-libgcrypt --without-openssl
28 < GCRYPT_CONFIGURE_OFF=   --without-libgcrypt --with-openssl
26 > GCRYPT_LIB_DEPENDS=     libgcrypt.so:security/libgcrypt
27 > GCRYPT_CONFIGURE_ON=    --with-libgcrypt
28 > GCRYPT_CONFIGURE_OFF=   --with-openssl
29   GCRYPT_CPPFLAGS=        -I${LOCALBASE}/include
30   GCRYPT_LIBS=            -L${LOCALBASE}/lib
31 + GCRYPT_USES_OFF=        ssl
32   ZLIB_CONFIGURE_WITH=    libz
33  
33 .include <bsd.mport.options.mk>
34
35 .if ! ${PORT_OPTIONS:MGCRYPT}
36 EXTENSIONS+=    ssl
37 .endif
38
34   .include <bsd.port.pre.mk>
35  
36   post-patch:
37 <        @${REINPLACE_CMD} -e '/Libs:/s/@LDFLAGS@//' -e '/Libs:/s/@LIBS@//' \
37 >        @${REINPLACE_CMD} -e '/Libs:/s/@LIBS@//' \
38                  ${WRKSRC}/libssh2.pc.in
39 < .if defined(WITH_OPENSSL_BASE)
39 > .if ! ${PORT_OPTIONS:MGCRYPT}
40 > .  if ${SSL_DEFAULT} == base
41          @${REINPLACE_CMD} -e 's/LIBSREQUIRED=libssl,libcrypto/LIBS="$$LIBS -lssl -lcrypto"/' \
42                  ${WRKSRC}/configure
43 + .  endif
44   .endif
45  
46   .include <bsd.port.post.mk>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines