Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 17:13:38 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lehmann@ans-netz.de
Subject:   ports/41604: [patch] allow games/heretic to use SDL
Message-ID:  <20020813071338.F173D6A7123@k7.mavetju>

next in thread | raw e-mail | index | archive | help

>Number:         41604
>Category:       ports
>Synopsis:       [patch] allow games/heretic to use SDL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 13 00:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

>Description:

Right now, games/heretic has an old lib-dependancy if SDL is specified
and the game doesn't work (it compiles and links but fails to work)
when running full-screen.

>How-To-Repeat:

run "WITH_SDL=1 make install" in /usr/ports/games/heretic

>Fix:


--- Makefile-old	Thu Apr 18 03:58:38 2002
+++ Makefile	Tue Aug 13 17:10:10 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	heretic
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://heretic.linuxgames.com/heretic/src/ \
 		http://heretic.linuxgames.com/wad/
@@ -34,9 +35,9 @@
 ALL_TARGET=	sdl
 BINARY=		sdlheretic
 SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
-LIB_DEPENDS=	SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS=	SDL-1.1:${PORTSDIR}/devel/sdl12
 MAKE_ENV+=	SDL_CONFIG="${SDL_CONFIG}"
-CFLAGS+=	`${SDL_CONFIG} --cflags`
+CFLAGS+=	`${SDL_CONFIG} --cflags` `${SDL_CONFIG} --libs`
 .endif
 
 .if defined(WITHOUT_WAD)

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813071338.F173D6A7123>