Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 08:10:04 -0700 (PDT)
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/41604 - [patch] allow games/heretic to use SDL
Message-ID:  <200208211510.g7LFA4IK059768@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/41604; it has been noted by GNATS.

From: Oliver Lehmann <lehmann@ans-netz.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: edwin@mavetju.org
Subject: Re: ports/41604 - [patch] allow games/heretic to use SDL
Date: Wed, 21 Aug 2002 17:03:47 +0200

 Thanks for your care Edwin. Now i know what the voices in my mind with
 "there is sth. with sdl and heretic" tried to say ;). I saw your report,
 but i just forgott it...
 
 Generally, i approve to these patch. But i modified it a bit:
 
 -------------
 diff -ruN heretic.old/Makefile /usr/ports/games/heretic/Makefile
 --- heretic.old/Makefile	Wed Apr 17 19:58:38 2002
 +++ /usr/ports/games/heretic/Makefile	Wed Aug 21 16:50:52 2002
 @@ -34,8 +34,8 @@
  ALL_TARGET=	sdl
  BINARY=		sdlheretic
  SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
 -LIB_DEPENDS=	SDL-1.0.2:${PORTSDIR}/devel/sdl10
 -MAKE_ENV+=	SDL_CONFIG="${SDL_CONFIG}"
 +LIB_DEPENDS=	SDL-1.1:${PORTSDIR}/devel/sdl12
 +MAKE_ENV+=	SDLLIBS="`${SDL_CONFIG} --libs`"
  CFLAGS+=	`${SDL_CONFIG} --cflags`
  .endif
  
 diff -ruN heretic.old/files/patch-aa
 /usr/ports/games/heretic/files/patch-aa
 --- heretic.old/files/patch-aa	Mon Jan 14 08:13:33 2002
 +++ /usr/ports/games/heretic/files/patch-aa	Wed Aug 21 16:15:33 2002
 @@ -57,7 +57,7 @@
   
   # Uncomment the line below if you want to use original "[" and "]" keys
   # for inventory access, instead of "k" and "l".
 -@@ -85,18 +85,18 @@
 +@@ -85,18 +85,17 @@
   COPT.sound = -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__
 -DMUSSERV # -D_DEBUGSOUND
   X11LIBS = -lXext -lX11
   
 @@ -75,7 +75,6 @@
   GGILIBS = -lggi -lm
   VGALIBS = -lvga
  -SDLLIBS = -lSDL -lpthread 
 -+SDLLIBS = -L${LOCALBASE}/lib -lSDL ${PTHREAD_LIBS}
   
   OBJS =	am_map.o ct_chat.o d_main.o d_net.o f_finale.o g_game.o \
   	p_ceilng.o p_doors.o p_enemy.o p_floor.o p_inter.o p_lights.o \
 ------------
 
 PORTREVISION change is not needed imho..
 
   Greetings Oliver
 -- 
 Oliver Lehmann, lehmann@ans-netz.de, http://www.pofo.de/
   http://wishlist.pofo.de/
 

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?200208211510.g7LFA4IK059768>