Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jul 2016 01:34:38 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: what to do when base openssl isn't suitable
Message-ID:  <y45l-szjl-wny@vfemail.net>
In-Reply-To: <201607011859.u61IxIBt093652@gw.catspoiler.org> (Don Lewis's message of "Fri, 1 Jul 2016 11:59:18 -0700 (PDT)")
References:  <201607011859.u61IxIBt093652@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Don Lewis <truckman@FreeBSD.org> writes:

> I've got a port that does not work with base openssl because it looks
> for libssl.pc.  Other than that, I don't think it is picky about what
> flavor of ports ssl is installed.  Because the default version of ssl
> still defaults to base, I don't see a way to get this port to build on
> the cluster, so there is no way to provide binary packages.  That's a
> problem for end users because this port has bunch of huge build
> dependencies.  Thoughts?

Have you tried putting a copy of libssl.pc under ${FILESDIR} and
adjusting PKG_CONFIG_PATH or forcing configure to accept *FLAGS without?

  # from net-p2p/zetacoin/Makefile
  CONFIGURE_ENV=	CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
			SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl"

  # from mail/mpop/Makefile
  OPENSSL_CONFIGURE_ENV=${OPENSSLINC:M/usr/include:C,.+,libssl_CFLAGS=" ",} \
			${OPENSSLLIB:M/usr/lib:C,.+,libssl_LIBS="-lssl -lcrypto",}

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQF8BAEBCgBmBQJXdv4OXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bRckH/jMSn+ENpbsTBa/0GtRMud02
TDLge4+LNSjUGGYqxQVRSX5dREUnYw7BtuJsfPNOQAAkvgmrcBqoeOc2m4L0oYwI
qjfuY6WOn+UuLlDPhsu1J24cgpmkNEZ7M6QHam9hyCZUXB3mjU+hFCmntpUxagzR
rbxmTlF/WoefNo9g/zQ9uEH79spCrhdnP90uCGHhi3sGwxnS6POpJHnZA+0vZ4+j
+WkoFjZlcdahS/tuXQLYGgDtRYN9MsWdS3JbEsd4+aGi8owJ4uy6AQLPSxCsKlee
WteqvNKfrRTDDOvWNMR9eKdx1EDphQ6STiIfKSgMLvOWlGagHl4wKbEUfA3x80Q=
=VjFW
-----END PGP SIGNATURE-----
--=-=-=--



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