diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2003-08-27 13:41:38 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2003-08-27 13:41:38 +0000 |
commit | 992948dc5fb6e5ef051e6c57a69ca920acea7d2e (patch) | |
tree | b18775bdfdddd4ab7f85dc8ab2a404bbea4e177f /games | |
parent | * Upgrade to 2.0.0 RC5 [1]. (diff) |
Respect CFLAGS, use sound (unless WITHOUT_SOUND is requested).
Bump PORTREVISION.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=87788
Diffstat (limited to 'games')
-rw-r--r-- | games/lgeneral/Makefile | 7 | ||||
-rw-r--r-- | games/lgeneral/files/patch-cflags | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile index bb6628793b67..b85ca201d370 100644 --- a/games/lgeneral/Makefile +++ b/games/lgeneral/Makefile @@ -7,6 +7,7 @@ PORTNAME= lgeneral PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lgeneral @@ -19,6 +20,12 @@ LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" +.ifndef (WITHOUT_SOUND) +LIB_DEPENDS+= SDL_mixer:${PORTSDIR}/audio/sdl_mixer +.else +CONFIGURE_ARGS+=--disable-sound +.endif + GNU_CONFIGURE= yes .include <bsd.port.mk> diff --git a/games/lgeneral/files/patch-cflags b/games/lgeneral/files/patch-cflags new file mode 100644 index 000000000000..a2bc6f636f7d --- /dev/null +++ b/games/lgeneral/files/patch-cflags @@ -0,0 +1,9 @@ +--- src/Makefile.in Thu Aug 15 04:40:49 2002 ++++ src/Makefile.in Tue Aug 26 21:07:10 2003 +@@ -102,5 +102,5 @@ + campaign.o strat_map.o ai.o engine.o ai_group.o + lgeneral_DEPENDENCIES = +-CFLAGS = @CFLAGS@ ++CFLAGS += @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) |