Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 08:14:36 -0500
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Koichiro IWAO <meta@vmeta.jp>
Cc:        "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   Re: any ssl port required, but not base
Message-ID:  <CAJE75NE6bNGmvASzhHgQwXpbDpQh1BkmmTeNFV4bU8PNH9bv3A@mail.gmail.com>
In-Reply-To: <0101015a5fe9edcf-1cb4607c-da20-4516-a130-3162a12e5ebf-000000@us-west-2.amazonses.com>
References:  <0101015a5fe9edcf-1cb4607c-da20-4516-a130-3162a12e5ebf-000000@us-west-2.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 21, 2017 at 4:04 AM, Koichiro IWAO <meta@vmeta.jp> wrote:
>
> if a port requires openssl or alternative from any port, how can I write
> Makefile?
> Whichever openssl, openssl-devel, libress, and libressl-devel are ok but
> base openssl is not ok.
>

You could add something along the lines of:

USES=    ssl

.include <bsd.port.pre.mk>

.if ${SSL_DEFAULT:Mbase}
BROKEN=         does not build with base openssl
.endif

.include <bsd.port.post.mk>



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