Summary: | [patch] ports/Mk/bsd.sdl.mk | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | edwin |
Component: | Individual Port(s) | Assignee: | Port Management Team <portmgr> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
edwin
2003-08-12 12:40:16 UTC
Responsible Changed From-To: freebsd-ports-bugs->portmgr Over to portmgr for approval. I volunteer for patching all the ports which use sdl and the sdl libraries. This update adds libSDLmm and updates the revision numbers of a couple of libraries. --- bsd.sdl.mk.orig Mon Jan 12 12:48:37 2004 +++ bsd.sdl.mk Mon Jan 12 12:54:58 2004 @@ -29,7 +29,7 @@ # # These are the current supported SDL modules # -_USE_SDL_ALL= gfx gui image mixer ldbad net sdl sound ttf +_USE_SDL_ALL= gfx gui image mixer ldbad mm net sdl sound ttf # # Keep some backward compatibility @@ -47,7 +47,7 @@ # _REQUIRES_xxx also needs these SDL libraries # -_VERSION_gfx= 8 +_VERSION_gfx= 10 _SUBDIR_gfx= graphics _REQUIRES_gfx= sdl @@ -67,6 +67,11 @@ _SUBDIR_mixer= audio _REQUIRES_mixer=sdl +_VERSION_mm= 8 +_SUBDIR_mm= devel +_LIB_mm= SDLmm +_REQUIRES_mm= sdl + _VERSION_net= 0 _SUBDIR_net= net _REQUIRES_net= sdl @@ -76,7 +81,7 @@ _LIB_sdl= SDL-1.1 _PORTDIR_sdl= sdl12 -_VERSION_sound= 0 +_VERSION_sound= 1 _SUBDIR_sound= audio _LIB_sound= SDL_sound-1.0 _REQUIRES_sound=sdl To test it, for example with games/enigma, use this patch on it: RCS file: /home/pcvs/ports/games/enigma/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 7 Jan 2004 21:36:55 -0000 1.15 +++ Makefile 12 Jan 2004 01:59:07 -0000 @@ -16,11 +16,9 @@ MAINTAINER= edwin@mavetju.org COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game -BUILD_DEPENDS= sdl11-config:${PORTSDIR}/devel/sdl12 \ +BUILD_DEPENDS= lua:${PORTSDIR}/lang/lua + - lua:${PORTSDIR}/lang/lua -LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \ - SDL_image.10:${PORTSDIR}/graphics/sdl_image \ - SDL_gfx.10:${PORTSDIR}/graphics/sdl_gfx +USE_SDL= gfx image mixer sdl GNU_CONFIGURE= yes USE_XLIB= yes -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ State Changed From-To: open->analyzed This patch is currently being tested on bento. State Changed From-To: analyzed->closed Committed, thanks! |