FreeBSD Port: ftp/curl

Scot Hetzel swhetzel at
Thu Jul 20 21:04:51 UTC 2006

On 7/20/06, Andrew Pantyukhin <infofarmer at> wrote:
> I wonder if it's possible to resolve the situation when
> (defined(WITH_GNUTLS) && !defined(WITHOUT_SSL)) in a
> friendlier way than a simple IGNORE. I have WITH_GNUTLS
> in my make.conf and I don't have WITHOUT_SSL there. It
> would be great if you could make the port choose on its own,
> either way would be perfect.

I had a look at the ports Makefile, and there is only one thing that
is holding the port back, from doing what you want.  The port defines:

.if !defined(WITHOUT_SSL)

before it includes  If this could be included after
the, then the port could have been made to work as you
wanted.  Since USE_OPENSSL is defined in, it needs to
be defined before this *.mk file.  If it could be moved into, then the ports Makefile could be changed as follows;

-.if !defined(WITHOUT_SSL)

 .include <>

-.if defined(WITH_GNUTLS) && !defined(WITHOUT_SSL)
-IGNORE=         may only use GNU TLS if WITHOUT_SSL is defined
+.if defined(WITH_GNUTLS)

No electrons were mamed while sending this message. Only slightly bruised.

More information about the freebsd-ports mailing list