diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-02-11 15:21:25 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-02-11 15:21:25 +0000 |
commit | 14223135a0ec1fc40ededbe70b4ad5ce27bbbf18 (patch) | |
tree | dcdd6ddea0d17130f314dcab29a69f1f9cb17244 /Mk/bsd.sanity.mk | |
parent | sysutils/getssl: add missing RUN_DEPENDS (diff) |
Convert bsd.sdl.mk to Uses/sdl.mk
Frow now on, USES=sdl should be used to specify dependency on SDL
libraries.
USE_SDL is still required to specify components, specifying it
without USES=sdl is still supported, but deprecated, and leads to
a warning. USE_SDL=yes support was removed, and now leads to error,
USE_SDL=sdl should be used instead (all ports which still used
USE_SDL=yes were fixed). sdl.mk was simplified and modernized along
the way.
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235561
Approved by: portmgr (mat)
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D19075
Notes
Notes:
svn path=/head/; revision=492696
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r-- | Mk/bsd.sanity.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk index 2fc794fd0e47..e1cfcf0a6b32 100644 --- a/Mk/bsd.sanity.mk +++ b/Mk/bsd.sanity.mk @@ -86,6 +86,10 @@ DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig" DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead" .endif +.if defined(USE_SDL) && ${USE_SDL} == yes +DEV_ERROR+= "USE_SDL=yes is unsupported, please use USE_SDL=sdl instead" +.endif + .if defined(USE_GITHUB) && defined(GH_COMMIT) DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT" .endif |