ports/113233: [PATCH] graphics/blender-devel build fails if /usr/X11R6 does not exist

Bartosz Fabianowski freebsd at chillt.de
Fri Jun 1 19:50:05 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list