Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 16:07:14 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Tijl Coosemans <tijl@FreeBSD.org>
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:  <20150719140714.GC50618@ivaldir.etoilebsd.net>
In-Reply-To: <20150719153553.5de3d746@kalimero.tijl.coosemans.org>
References:  <201507191135.t6JBZPcB028814@repo.freebsd.org> <20150719142306.0ae1cfce@kalimero.tijl.coosemans.org> <20150719123917.GB50618@ivaldir.etoilebsd.net> <20150719153553.5de3d746@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--pAwQNkOnpTn9IO2O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 19, 2015 at 03:35:53PM +0200, Tijl Coosemans wrote:
> On Sun, 19 Jul 2015 14:39:17 +0200 Baptiste Daroussin <bapt@FreeBSD.org> =
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 <bapt@Free=
BSD.org> wrote:
> >>> Author: bapt
> >>> Date: Sun Jul 19 11:35:25 2015
> >>> New Revision: 392494
> >>> URL: https://svnweb.freebsd.org/changeset/ports/392494
> >>>=20
> >>> Log:
> >>>   Properly respect OPENSSL_PORT (while here use libarchive from base)
> >>>  =20
> >>>   PR:		199265
> >>>   Reported by:	ports@stdrand.com
> >>>=20
> >>> Modified:
> >>>   head/net-mgmt/seafile/Makefile
> >>>=20
> >>> Modified: head/net-mgmt/seafile/Makefile
> >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> >>> --- 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 @@
> >>> =20
> >>>  PORTNAME=3D	seafile
> >>>  PORTVERSION=3D	4.0.6
> >>> +PORTREVISION=3D	1
> >>>  DISTVERSIONPREFIX=3D	v
> >>>  DISTVERSIONSUFFIX=3D	-server
> >>>  CATEGORIES=3D	net-mgmt devel
> >>> @@ -16,7 +17,6 @@ LIB_DEPENDS=3D	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=3D	scripts/*.sh scripts/upgr
> >>>  GNU_CONFIGURE=3D	yes
> >>>  USE_OPENSSL=3D	yes
> >>>  USE_LDCONFIG=3D	yes
> >>> +CONFIGURE_ENV=3D	SSL_CFLAGS=3D"${OPENSSLINC}" SSL_LIBS=3D"-L${OPENSS=
LLIB} -lssl -lcrypto" \
> >>> +		LIBARCHIVE_CFLAGS=3D"-I/usr/include" LIBARCHIVE_LIBS=3D"-larchive"
> >>=20
> >> 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.
> >=20
> > I cannot see a sane way to handle this...
>=20
> I think it's enough to replace LIBARCHIVE_CFLAGS=3D"-I/usr/include" with
> LIBARCHIVE_CFLAGS=3D" " for now.  Then ports libarchive will be used when
> available (because of -I and -L flags from other libraries).
>=20

I'm working on a USES=3Dlibarchive so libarchive is always enforced from po=
rts
(same will come for other libs like that)

Best regards,
Bapt

--pAwQNkOnpTn9IO2O
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlWrrxEACgkQ8kTtMUmk6EzVPACfWDEP975Ew3zDf7DWMOArFKtp
tCMAni6S2Kgk6gFxD3WmJ8esJ3nntBX/
=ui22
-----END PGP SIGNATURE-----

--pAwQNkOnpTn9IO2O--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150719140714.GC50618>