Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2010 05:09:26 GMT
From:      chris petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153451: [PATCH] graphics/libGL remove mesa-demos as component in bsd.mesa.mk
Message-ID:  <201012260509.oBQ59Q9d067241@red.freebsd.org>
Resent-Message-ID: <201012260510.oBQ5AAj1030243@freefall.freebsd.org>

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

>Number:         153451
>Category:       ports
>Synopsis:       [PATCH] graphics/libGL remove mesa-demos as component in bsd.mesa.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 05:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     chris petrik
>Release:        FreeBSD 8.2-PRE
>Organization:
none
>Environment:
n/a
>Description:
remove mesa-demos as a component of libGL's bsd.mesa.mk
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: libGL/bsd.mesalib.mk
===================================================================
RCS file: /usr/local/freebsdcvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.16
diff -u -r1.16 bsd.mesalib.mk
--- libGL/bsd.mesalib.mk	7 Feb 2010 11:51:05 -0000	1.16
+++ libGL/bsd.mesalib.mk	26 Dec 2010 05:05:08 -0000
@@ -31,7 +31,7 @@
 PLIST_SUB+=		MESALIB74= MESALIB76="@comment "
 .endif
 
-MASTER_SITES?=	ftp://ftp.freedesktop.org/pub/mesa/${MESABASEVERSION}/:mesa,glut,demos
+MASTER_SITES?=	ftp://ftp.freedesktop.org/pub/mesa/${MESABASEVERSION}/:mesa,glut
 MASTER_SITE_SUBDIR=	mesa3d
 DISTFILES=		MesaLib-${MESADISTVERSION}${EXTRACT_SUFX}:mesa
 MAINTAINER?=	x11@FreeBSD.org
@@ -82,13 +82,6 @@
 CONFIGURE_ARGS+=	--enable-motif
 .endif
 
-.if ${COMPONENT:Mdemos} == ""
-CONFIGURE_ARGS+=	--with-demos=no
-.else
-DISTFILES+=		MesaDemos-${MESADISTVERSION}${EXTRACT_SUFX}:demos
-CONFIGURE_ARGS+=	--with-demos=demos,xdemos
-.endif
-
 .if ${COMPONENT:Mdri} == ""
 CONFIGURE_ARGS+=	--with-dri-drivers=no
 .endif
@@ -111,10 +104,3 @@
 	@${REINPLACE_CMD} -e 's|[$$](INSTALL_LIB_DIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
 		${WRKSRC}/src/glut/glx/Makefile
 .endif
-.if ${COMPONENT:Mdemos} != ""
-	@${REINPLACE_CMD} -e 's|../images/|${DATADIR}/images/|g' \
-		-e 's|geartrain.dat|${DATADIR}/data/geartrain.dat|g' \
-		-e 's|terrain.dat|${DATADIR}/data/terrain.dat|g' \
-		-e 's|isosurf.dat|${DATADIR}/data/isosurf.dat|g' \
-			${WRKSRC}/progs/demos/*.c ${WRKSRC}/progs/xdemos/*.c
-.endif


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



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