Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 20:05:58 +0100 (CET)
From:      Stefan Grundmann <sg-sendpr@waset.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62882: ports/x11/wrapper does not respect X11BASE
Message-ID:  <200402151905.i1FJ5wXA019798@gate-com.com>
Resent-Message-ID: <200402151910.i1FJACrJ034008@freefall.freebsd.org>

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

>Number:         62882
>Category:       ports
>Synopsis:       ports/x11/wrapper does not respect X11BASE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 11:10:11 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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