diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-09 22:30:02 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-09 22:30:02 +0800 |
commit | 1856135f876616142f11dec7e66c5c088c324598 (patch) | |
tree | ca64d90fe979fab8f7ed8d1e9bdd41583f1793d9 /games/noegnud-littlehack | |
parent | 205cc44135bcb305bd243c70b6b574ba71c18b19 (diff) | |
download | freebsd-ports-gnome-1856135f876616142f11dec7e66c5c088c324598.tar.gz freebsd-ports-gnome-1856135f876616142f11dec7e66c5c088c324598.tar.zst freebsd-ports-gnome-1856135f876616142f11dec7e66c5c088c324598.zip |
Remove support for WANT_SDL/HAVE_SDL knobs
WANT_SDL/HAVE_SDL macros allowed a port to check which SDL components
are installed. This goes against the policy of avoiding automatic
dependencies, and there are actually no cases in the portstree where
these knobs are used properly, so axe them out.
Approved by: portmgr (mat)
Differential Revision: D4093
Diffstat (limited to 'games/noegnud-littlehack')
-rw-r--r-- | games/noegnud-littlehack/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/games/noegnud-littlehack/Makefile b/games/noegnud-littlehack/Makefile index ae8f29d1a682..204208a1aac4 100644 --- a/games/noegnud-littlehack/Makefile +++ b/games/noegnud-littlehack/Makefile @@ -22,7 +22,6 @@ RUN_DEPENDS= noegnud-data>0:${PORTSDIR}/games/noegnud-data NOEGNUDVERSION= ${PORTNAME}-0.8.0 USES= bison tar:bzip2 USE_GL= yes -WANT_SDL= yes USE_SDL= sdl image mixer WRKSRC= ${WRKDIR}/${DISTNAME}/variants PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} @@ -30,14 +29,10 @@ ALL_TARGET= lh001 INSTALL_TARGET= install_lh001 MAKE_JOBS_UNSAFE= yes -.include <bsd.port.pre.mk> - pre-everything:: -.if ${HAVE_SDL} @${ECHO_MSG} "This port depends on SDL with OpenGL support." @${ECHO_MSG} "If your SDL does not support OpenGL, hit ^C now and reinstall SDL" @${ECHO_MSG} "with OpenGL support turned on." -.endif post-extract: @${CP} ${DISTDIR}/nethack-342.tgz ${WRKSRC}/tarballs @@ -54,4 +49,4 @@ post-patch: do-configure: (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1/Makefile) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |