Solved make: "/usr/ports/Mk/Uses/ssl.mk" line 95: You are using an unsupported SSL provider openssl-devel

Has anyone seen this?
Code:
$ cd /usr/ports/net/kea
$ make package-name
make: "/usr/ports/Mk/Uses/ssl.mk" line 95: You are using an unsupported SSL provider openssl-devel

make: stopped in /usr/ports/net/kea
There is no openssl-devel anywhere. And I got lost in ifdefs in ssl.mk - Someone needs to write an article about ".if defined considered harmful"!

My machine is running fairly recent 13.2-stable (though I haven't tried building any ports locally for a long time except for drm).
 
Check your make.conf. Somewhere, you're adding ssl=openssl-devel to DEFAULT_VERSIONS. That doesn't exist.

# Possible values: base, openssl, libressl, libressl-devel

edit: Yes, that's not the best way to do it, but currently, definitive docs about supported values for DEFAULT_VERSIONS are the comments in /usr/ports/Mk/bsd.default-versions.mk.
 
(though I haven't tried building any ports locally for a long time except for drm).
If that means you're using binary packages, remove anything from DEFAULT_VERSIONS, otherwise your built ports will be incompatible with these packages.
 
It did exist but it got renamed some time ago.
Figured that, it's your typical make.conf bitrot. If it wasn't valid back when you added it, you'd have fixed it right away ?

Still, when mixing ports and packages, having anything in DEFAULT_VERSIONS is begging for trouble anyways, so just drop it ?
 
One place I didn't look in was make.conf.
Should be about the first place to check, especially when getting errors from some USES ? (just leaving this remark to readers)

I don't even remember now when I added it or why!
Hm, that's kind of the key ingredient to "bitrot" ?

I took out the DEFAULT_VERSIONS line.
Most likely the wisest thing to do here. Mind to mark it "solved" then?
 
Back
Top