Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 16:36:49 +0100
From:      Chris Rees <crees@bayofrum.net>
To:        freebsd-ports@freebsd.org, 5u623l20@gmail.com
Subject:   Re: Force Dependent ports OPTIONS
Message-ID:  <536E4791.9070602@bayofrum.net>
In-Reply-To: <CA%2BnPUkwUuTtyUO98g9OvB-EMVgOb6kDrDHTVfxBVMRq7xOp41Q@mail.gmail.com>
References:  <CA%2BnPUkz6YPKsxeUFRT8r21pTJNbBdfvZgZHtskgXejAWGB9Eqw@mail.gmail.com> <n/jDy%2B9r2e@dmeyer.dinoex.sub.org> <CA%2BnPUkwUuTtyUO98g9OvB-EMVgOb6kDrDHTVfxBVMRq7xOp41Q@mail.gmail.com>

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

On 04/05/2014 15:09, Muhammad Moinur Rahman wrote:
> Hi Dirk,
> 
> How can I enforce it from inside a ports Makefile?
> 
> Thanks in advance.
> 

Short answer, you can't, sorry.

You'll need to test it somehow in a target;

pre-configure:
	if ! openssl --help 2>&1 | grep -q 3779; then \
		${ECHO_MSG} "openssl was compiled without RFC3779 option; "; \
		${ECHO_MSG} "please reinstall with RFC3779 selected"; \
		${FALSE}; \
	fi

Not sure if anyone else has a better idea....

By the way, check that openssl --help actually tells you whether or
not RFC3779 was compiled, because I don't know :)

Chris

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




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