Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 19:42:58 GMT
From:      Bartosz Fabianowski<freebsd@chillt.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113233: [PATCH] graphics/blender-devel build fails if /usr/X11R6 does not exist
Message-ID:  <200706011942.l51JgwJ2063261@www.freebsd.org>
Resent-Message-ID: <200706011950.l51Jo4TQ068807@freefall.freebsd.org>

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

>Number:         113233
>Category:       ports
>Synopsis:       [PATCH] graphics/blender-devel build fails if /usr/X11R6 does not exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 01 19:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bartosz Fabianowski
>Release:        6-STABLE
>Organization:
>Environment:
>Description:
Blender is looking for OpenGL headers in the hard-coded location /usr/X11R6/include. This works with the compatibility symlink in place, but fails when upgrading a pre-Xorg-7.2 system and will certainly also break once the symlink has been removed.
>How-To-Repeat:

>Fix:
The attached patch to graphics/blender-devel/Makefile makes Blender look in the right place (${X11BASE}/include).

Patch attached with submission follows:

--- Makefile.orig	Fri Jun  1 20:31:15 2007
+++ Makefile	Fri Jun  1 20:31:27 2007
@@ -60,7 +60,8 @@
 		s|g++|${CXX}|; \
 		s|-O2|${CFLAGS}|; \
 		s|-DGAMEBLENDER=1||; \
-		s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \
+		s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|; \
+		s|/usr/X11R6|${X11BASE}|' \
 		${WRKSRC}/source/nan_compile.mk
 
 	@${REINPLACE_CMD} -e \


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



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