From owner-svn-ports-head@freebsd.org Sun Jul 19 13:35:58 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E0789A4293; Sun, 19 Jul 2015 13:35:58 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay106.isp.belgacom.be (mailrelay106.isp.belgacom.be [195.238.20.133]) by mx1.freebsd.org (Postfix) with ESMTP id 8E64A1572; Sun, 19 Jul 2015 13:35:57 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=SBTPB+aU5K4LG/z6P+2X+Qo0AxOejQ4nyx+IVoQ/YQ8= c=1 sm=2 a=6I5d2MoRAAAA:8 a=ImYEtY6mAAAA:8 a=rMbFwCH3iaB4IUWQX_oA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DzAwDjpqtV/++YsFtcgxNUWg+7ZQmBdYV3AoEcORQBAQEBAQEBgQqEJAEBBDocIxALDgYECSUPKh4GE4gyAQjHYAEBAQEBAQEDAQEBAQEBARcEi0yEOxgzB4QrAQSUUoRvhzGZCCaDfjwxgksBAQE Received: from 239.152-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.152.239]) by relay.skynet.be with ESMTP; 19 Jul 2015 15:35:55 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id t6JDZr2h002587; Sun, 19 Jul 2015 15:35:53 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sun, 19 Jul 2015 15:35:53 +0200 From: Tijl Coosemans To: Baptiste Daroussin Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r392494 - head/net-mgmt/seafile Message-ID: <20150719153553.5de3d746@kalimero.tijl.coosemans.org> In-Reply-To: <20150719123917.GB50618@ivaldir.etoilebsd.net> References: <201507191135.t6JBZPcB028814@repo.freebsd.org> <20150719142306.0ae1cfce@kalimero.tijl.coosemans.org> <20150719123917.GB50618@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 13:35:58 -0000 On Sun, 19 Jul 2015 14:39:17 +0200 Baptiste Daroussin wrote: > On Sun, Jul 19, 2015 at 02:23:06PM +0200, Tijl Coosemans wrote: >> On Sun, 19 Jul 2015 11:35:25 +0000 (UTC) Baptiste Daroussin wrote: >>> Author: bapt >>> Date: Sun Jul 19 11:35:25 2015 >>> New Revision: 392494 >>> URL: https://svnweb.freebsd.org/changeset/ports/392494 >>> >>> Log: >>> Properly respect OPENSSL_PORT (while here use libarchive from base) >>> >>> PR: 199265 >>> Reported by: ports@stdrand.com >>> >>> Modified: >>> head/net-mgmt/seafile/Makefile >>> >>> Modified: head/net-mgmt/seafile/Makefile >>> ============================================================================== >>> --- head/net-mgmt/seafile/Makefile Sun Jul 19 11:28:37 2015 (r392493) >>> +++ head/net-mgmt/seafile/Makefile Sun Jul 19 11:35:25 2015 (r392494) >>> @@ -2,6 +2,7 @@ >>> >>> PORTNAME= seafile >>> PORTVERSION= 4.0.6 >>> +PORTREVISION= 1 >>> DISTVERSIONPREFIX= v >>> DISTVERSIONSUFFIX= -server >>> CATEGORIES= net-mgmt devel >>> @@ -16,7 +17,6 @@ LIB_DEPENDS= libsearpc.so:${PORTSDIR}/de >>> libevhtp.so:${PORTSDIR}/www/libevhtp \ >>> libzdb.so:${PORTSDIR}/databases/libzdb \ >>> libcrypto.so:${PORTSDIR}/security/openssl \ >>> - libarchive.so.13:${PORTSDIR}/archivers/libarchive \ >>> libcurl.so:${PORTSDIR}/ftp/curl \ >>> libinotify.so:${PORTSDIR}/devel/libinotify \ >>> libccnet.so:${PORTSDIR}/net-mgmt/ccnet >>> @@ -33,8 +33,9 @@ SHEBANG_FILES= scripts/*.sh scripts/upgr >>> GNU_CONFIGURE= yes >>> USE_OPENSSL= yes >>> USE_LDCONFIG= yes >>> +CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ >>> + LIBARCHIVE_CFLAGS="-I/usr/include" LIBARCHIVE_LIBS="-larchive" >> >> It's probably ok to remove the dependency above, but I'm not sure these >> flags are fine. When ports openssl is used, ports libarchive must be >> used as well, because libarchive links to libcrypto. > > I cannot see a sane way to handle this... I think it's enough to replace LIBARCHIVE_CFLAGS="-I/usr/include" with LIBARCHIVE_CFLAGS=" " for now. Then ports libarchive will be used when available (because of -I and -L flags from other libraries).