From arundel@h3c.de  Thu Oct 27 18:50:24 2005
Return-Path: <arundel@h3c.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2D4BB16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Oct 2005 18:50:24 +0000 (GMT)
	(envelope-from arundel@h3c.de)
Received: from enterprise4.noxa.de (enterprise.noxa.de [212.60.197.71])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0704B43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Oct 2005 18:50:22 +0000 (GMT)
	(envelope-from arundel@h3c.de)
Received: (qmail 27862 invoked from network); 27 Oct 2005 20:50:20 +0200
Received: from p508fcc35.dip.t-dialin.net (HELO localhost.skatecity) (80.143.204.53)
  by enterprise.noxa.de with AES256-SHA encrypted SMTP; 27 Oct 2005 20:50:20 +0200
Received: from localhost.skatecity (nobody@localhost.skatecity [127.0.0.1])
	by localhost.skatecity (8.13.4/8.13.4) with ESMTP id j9RIoJvq004029
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Oct 2005 20:50:19 +0200 (CEST)
	(envelope-from arundel@localhost.skatecity)
Received: (from arundel@localhost)
	by localhost.skatecity (8.13.4/8.13.4/Submit) id j9RIoIHo004028;
	Thu, 27 Oct 2005 20:50:18 +0200 (CEST)
	(envelope-from arundel)
Message-Id: <200510271850.j9RIoIHo004028@localhost.skatecity>
Date: Thu, 27 Oct 2005 20:50:18 +0200 (CEST)
From: No Name <arundel@h3c.de>
Reply-To: No Name <arundel@h3c.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE] of games/jfduke3d
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88090
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] of games/jfduke3d
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 27 19:00:25 GMT 2005
>Closed-Date:    Sun Oct 30 20:05:21 GMT 2005
>Last-Modified:  Tue Jul 27 21:43:45 UTC 2010
>Originator:     Alexander Best
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD skatecity 6.0-RC1 FreeBSD 6.0-RC1 #0: Thu Oct 27 16:10:03 CEST 2005 root@:/usr/obj/usr/src/sys/ARUNDEL i386

>Description:
	I got an email from Kris Kennaway, saying that this port has PREFIX
	hardcoded into some of it's sourcefiles. Kris asked me to change this
	so a user can set LOCALBASE and X11BASE to a different directory than
	/usr/local and /usr/X11R6

	The following patch should take care of the problem.

>How-To-Repeat:
	Compile the games/jfduke3d port on a computer that uses
	LOCALBASE!=/usr/local and X11BASE!=/usr/X11R6.

>Fix:

--- output-jfduke3d begins here ---
diff -ruN /usr/ports/games/jfduke3d/files/patch-fbuild_src_20050531-Makefile.shared ./jfduke3d/files/patch-fbuild_src_20050531-Makefile.shared
--- /usr/ports/games/jfduke3d/files/patch-fbuild_src_20050531-Makefile.shared	Wed Sep  7 00:33:59 2005
+++ ./jfduke3d/files/patch-fbuild_src_20050531-Makefile.shared	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- ../jfbuild_src_20050531/Makefile.shared.orig	Sun Sep  4 15:03:56 2005
-+++ ../jfbuild_src_20050531/Makefile.shared	Sun Sep  4 15:04:04 2005
-@@ -10,7 +10,7 @@
- GLLIBBSD=-lopengl32
- GLLIBLIN=-lGL
- 
--SDLCONFIG=sdl-config
-+SDLCONFIG=sdl11-config
- #SDLCONFIG=/usr/local/bin/sdl11-config
- 
- # detect the platform
diff -ruN /usr/ports/games/jfduke3d/files/patch-jfbuild_src_20050531-Makefile ./jfduke3d/files/patch-jfbuild_src_20050531-Makefile
--- /usr/ports/games/jfduke3d/files/patch-jfbuild_src_20050531-Makefile	Thu Jan  1 01:00:00 1970
+++ ./jfduke3d/files/patch-jfbuild_src_20050531-Makefile	Thu Oct 27 17:42:47 2005
@@ -0,0 +1,11 @@
+--- ../jfbuild_src_20050531/Makefile.orig	Thu Oct 27 17:32:56 2005
++++ ../jfbuild_src_20050531/Makefile	Thu Oct 27 17:35:56 2005
+@@ -93,7 +93,7 @@
+ endif
+ ifeq ($(PLATFORM),BSD)
+ 	ASFLAGS+= -f elf
+-	override CFLAGS+= -I/usr/X11R6/include
++	override CFLAGS+= -I$(PREFIX)/include
+ endif
+ ifeq ($(PLATFORM),WINDOWS)
+ 	override CFLAGS+= -DUNDERSCORES -I$(DXROOT)/include -I$(FMODROOT)/inc
diff -ruN /usr/ports/games/jfduke3d/files/patch-jfbuild_src_20050531-Makefile.shared ./jfduke3d/files/patch-jfbuild_src_20050531-Makefile.shared
--- /usr/ports/games/jfduke3d/files/patch-jfbuild_src_20050531-Makefile.shared	Thu Jan  1 01:00:00 1970
+++ ./jfduke3d/files/patch-jfbuild_src_20050531-Makefile.shared	Thu Oct 27 17:14:36 2005
@@ -0,0 +1,11 @@
+--- ../jfbuild_src_20050531/Makefile.shared.orig	Sun Sep  4 15:03:56 2005
++++ ../jfbuild_src_20050531/Makefile.shared	Sun Sep  4 15:04:04 2005
+@@ -10,7 +10,7 @@
+ GLLIBBSD=-lopengl32
+ GLLIBLIN=-lGL
+ 
+-SDLCONFIG=sdl-config
++SDLCONFIG=sdl11-config
+ #SDLCONFIG=/usr/local/bin/sdl11-config
+ 
+ # detect the platform
diff -ruN /usr/ports/games/jfduke3d/pkg-descr ./jfduke3d/pkg-descr
--- /usr/ports/games/jfduke3d/pkg-descr	Wed Sep  7 00:33:59 2005
+++ ./jfduke3d/pkg-descr	Thu Oct 27 17:39:13 2005
@@ -7,5 +7,4 @@
 
 WWW:  http://jonof.edgenetwork.org/index.php?p=jfduke3d
 
-- Alexander Best
 arundel@h3c.de
--- output-jfduke3d ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sun Oct 30 20:05:19 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88090 
>Unformatted:
