Skip site navigation (1)Skip section navigation (2)
Date:      22 Nov 2009 19:14:12 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        araujo@FreeBSD.org
Subject:   ports/140792: [BROKEN] graphics/mesa-demos: Broken build due to missing symbols
Message-ID:  <20091122211412.32637.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200911222120.nAMLK10R016274@freefall.freebsd.org>

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

>Number:         140792
>Category:       ports
>Synopsis:       [BROKEN] graphics/mesa-demos: Broken build due to missing symbols
>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:   Sun Nov 22 21:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 8.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 8.0-PRERELEASE FreeBSD 8.0-PRERELEASE #4: Sun Nov 15 10:14:26 BRST 2009 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386
>Description:
1) The port build is broken
2) It was missing a reference to 'pthread_create'
  2.1) I added a "hack" (needs a better fix) to fix this
3) Then, it complained about a missing reference to 'glXCreateGLXPixmapMESA'
  3.1) No fix yet

>How-To-Repeat:
>Fix:

--- Makefile.orig	2009-11-22 18:59:21.000000000 -0200
+++ Makefile	2009-11-22 19:04:15.000000000 -0200
@@ -41,6 +41,9 @@
 .include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
 .include <bsd.port.pre.mk>
 
+CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+                LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
+
 .if defined(WITH_NVIDIA_GL)
 CFLAGS+=	-DWITH_NVIDIA_GL=1
 .endif

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



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