Force Dependent ports OPTIONS

Chris Rees crees at bayofrum.net
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;

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.



More information about the freebsd-ports mailing list