From marodeur@gate-com.com  Sun Feb 15 11:06:00 2004
Return-Path: <marodeur@gate-com.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 474FE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Feb 2004 11:06:00 -0800 (PST)
Received: from gate-com.com (gate-com.com [213.244.186.97])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BB82B43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Feb 2004 11:05:59 -0800 (PST)
	(envelope-from marodeur@gate-com.com)
Received: (from marodeur@localhost)
	by gate-com.com (8.12.10/8.12.10) id i1FJ5wXA019798;
	Sun, 15 Feb 2004 20:05:58 +0100 (CET)
	(envelope-from marodeur)
Message-Id: <200402151905.i1FJ5wXA019798@gate-com.com>
Date: Sun, 15 Feb 2004 20:05:58 +0100 (CET)
From: Stefan Grundmann <sg-sendpr@waset.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports/x11/wrapper does not respect X11BASE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62882
>Category:       ports
>Synopsis:       ports/x11/wrapper does not respect X11BASE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    trevor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 11:10:11 PST 2004
>Closed-Date:    Mon Feb 16 17:59:38 PST 2004
>Last-Modified:  Mon Feb 16 17:59:38 PST 2004
>Originator:     Stefan Grundmann
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
waset.de
>Environment:
FreeBSD chons.hb.waset.de 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sun Feb 15 11:50:3
9 CET 2004     marodeur@chons.hb.waset.de:/usr/obj/usr/src/sys/CHONS  i386

>Description:
	The path for the XFree Server defaults to /usr/X11R6/bin/XFree86
        in ports/x11/wrapper/files/wrapper.c unless XSERVER_PATH is defined
        during compilation. The port Makefile does not respect this.
>How-To-Repeat:
        set X11BASE to something different from /usr/X11R6
>Fix:

        
--- wrapper-patch begins here ---
*** Makefile.old	Sun Feb 15 19:47:42 2004
--- Makefile	Sun Feb 15 19:22:42 2004
***************
*** 22,28 ****
  do-fetch:
  
  do-build:
! 	${CC} ${CFLAGS} -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
--- 22,28 ----
  do-fetch:
  
  do-build:
! 	${CC} ${CFLAGS} -DXSERVER_PATH=\"${X11BASE}/bin/XFree86\" -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
--- wrapper-patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->trevor  
Responsible-Changed-By: krion 
Responsible-Changed-When: Sun Feb 15 11:12:31 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62882 
State-Changed-From-To: open->closed 
State-Changed-By: trevor 
State-Changed-When: Mon Feb 16 17:59:17 PST 2004 
State-Changed-Why:  
committed--thank you, Stefan 

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