Index: head/net-mgmt/ccnet-client/Makefile =================================================================== --- head/net-mgmt/ccnet-client/Makefile +++ head/net-mgmt/ccnet-client/Makefile @@ -3,6 +3,7 @@ PORTNAME= ccnet-client PORTVERSION= ${SEAFILE_CLIENT_VER} DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net-mgmt devel MAINTAINER= ultima@FreeBSD.org @@ -21,19 +22,17 @@ CONFLICTS= ccnet-server-[0-9]* -USE_GITHUB= yes -GH_ACCOUNT= haiwen -GH_PROJECT= ccnet - USES= autoreconf gettext libtool localbase pathfix pkgconfig \ python:-2.7 ssl USE_GNOME= glib20 USE_LDCONFIG= yes USE_OPENLDAP= yes +USE_GITHUB= yes +GH_ACCOUNT= haiwen +GH_PROJECT= ccnet CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-ldap INSTALL_TARGET= install-strip .include "${.CURDIR}/../seafile-client/Makefile.include" Index: head/net-mgmt/ccnet-client/files/patch-lib_rsa.c =================================================================== --- head/net-mgmt/ccnet-client/files/patch-lib_rsa.c +++ head/net-mgmt/ccnet-client/files/patch-lib_rsa.c @@ -0,0 +1,11 @@ +--- lib/rsa.c.orig 2017-07-02 22:29:20 UTC ++++ lib/rsa.c +@@ -13,7 +13,7 @@ + + /* Forward compatibility functions if libssl < 1.1.0. */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + + int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + {