aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sdl.mk
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-09 14:30:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-09 14:30:02 +0000
commit7cffd3c8f90872c68664bd0c51b48f9e2c59e611 (patch)
treeca64d90fe979fab8f7ed8d1e9bdd41583f1793d9 /Mk/bsd.sdl.mk
parent232584a7099c1614b5d83999ae19aa01004d0232 (diff)
downloadports-7cffd3c8f90872c68664bd0c51b48f9e2c59e611.tar.gz
ports-7cffd3c8f90872c68664bd0c51b48f9e2c59e611.zip
Notes
Diffstat (limited to 'Mk/bsd.sdl.mk')
-rw-r--r--Mk/bsd.sdl.mk31
1 files changed, 0 insertions, 31 deletions
diff --git a/Mk/bsd.sdl.mk b/Mk/bsd.sdl.mk
index de3bdfb11a63..4e93b8303c5f 100644
--- a/Mk/bsd.sdl.mk
+++ b/Mk/bsd.sdl.mk
@@ -16,17 +16,6 @@
# the standard SDL and SDL_sound, use "USE_SDL=sdl sound" and the
# required libraries are included in your LIB_DEPENDS.
#
-# If you want to check for the availability for certain SDL ports, you
-# can set WANT_SDL and run it through bsd.port.pre.mk:
-# WANT_SDL= yes
-# USE_SDL= sdl
-# .include <bsd.port.pre.mk>
-# .if ${HAVE_SDL:Mgraphics}
-# USE_SDL+= graphics
-# .endif
-# .include <bsd.port.post.mk>
-# Run "make -V USE_SDL" to see which libs are asked for at the end.
-#
#
# $FreeBSD$
@@ -132,26 +121,6 @@ _LIB_ttf2= libSDL2_ttf.so
_REQUIRES_ttf2= sdl2
#
-# If WANT_SDL is defined, check for the available libraries
-#
-.if !defined(AFTERPORTMK)
-.if !defined(SDL_Include_pre)
-
-SDL_Include_pre= bsd.sdl.mk
-
-HAVE_SDL?=
-.if defined(WANT_SDL)
-.for component in ${_USE_SDL_ALL}
-.if exists(${LOCALBASE}/lib/lib${_LIB_${component}}.so)
-HAVE_SDL+= ${component}
-.endif
-.endfor
-.endif
-
-.endif
-.endif
-
-#
# If USE_SDL is defined, make dependencies for the libraries
#
.if !defined(BEFOREPORTMK)