Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 11:51:09 -0500
From:      David Shane Holden <dpejesh@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   [patch] graphics/libGL/bsd.mesalib.mk
Message-ID:  <5294D17D.9020202@yahoo.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060005060904090402070801
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The latest graphics/libGL/bsd.mesalib.mk commit breaks graphics/dri when 
WITH_NEW_XORG is defined since it's trying to patch a nonexistent file.

--------------060005060904090402070801
Content-Type: text/x-patch;
 name="bsd.mesalib.mk.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="bsd.mesalib.mk.patch"

diff --git a/graphics/libGL/bsd.mesalib.mk b/graphics/libGL/bsd.mesalib.mk
index 8e5e481..bf46cbb 100644
--- a/graphics/libGL/bsd.mesalib.mk
+++ b/graphics/libGL/bsd.mesalib.mk
@@ -120,8 +120,10 @@ post-patch:
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
 		${WRKSRC}/src/mesa/drivers/dri/common/xmlconfig.c
+.if !defined(WITH_NEW_XORG)
 	@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' \
 		${WRKSRC}/src/gallium/auxiliary/util/Makefile
+.endif
 .if !defined(WITH_NEW_XORG)
 	@${REINPLACE_CMD} -e 's|[$$](INSTALL_LIB_DIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
 		${WRKSRC}/src/glu/Makefile \

--------------060005060904090402070801--



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