Force Dependent ports OPTIONS

Chris Rees crees at
Sat May 10 15:35:09 UTC 2014

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;

	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}; \

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 :)


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

More information about the freebsd-ports mailing list