[132833] trunk/dports/x11/mesa

jeremyhu at macports.org jeremyhu at macports.org
Wed Feb 11 02:37:53 PST 2015


Revision: 132833
          https://trac.macports.org/changeset/132833
Author:   jeremyhu at macports.org
Date:     2015-02-11 02:37:53 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
mesa: Add missing build dependency on pkgconfig and fix name of libOSMesa to match what it used to be

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Added Paths:
-----------
    trunk/dports/x11/mesa/files/1001-darwin-Fix-install-name-of-libOSMesa.patch

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2015-02-11 10:27:18 UTC (rev 132832)
+++ trunk/dports/x11/mesa/Portfile	2015-02-11 10:37:53 UTC (rev 132833)
@@ -6,6 +6,7 @@
 name                mesa
 epoch               1
 version             10.4.4
+revision            1
 categories          x11 graphics
 maintainers         jeremyhu openmaintainer
 license             MIT
@@ -23,6 +24,8 @@
                     rmd160  3a6ebe589d73d10f0127f70684d744a434c5156c \
                     sha256  f18a967e9c4d80e054b2fdff8c130ce6e6d1f8eecfc42c9f354f8628d8b4df1c
 
+depends_build       port:pkgconfig
+
 depends_lib         port:xorg-glproto \
                     port:xorg-dri2proto \
                     port:xorg-libXfixes \
@@ -33,6 +36,7 @@
 patchfiles \
     0001-darwin-build-fix.patch \
     0002-darwin-build-fix.patch \
+    1001-darwin-Fix-install-name-of-libOSMesa.patch \
     5001-swrast-Build-fix-for-darwin.patch \
     5002-darwin-Suppress-type-conversion-warnings-for-GLhandl.patch \
     5003-applegl-Provide-requirements-of-_SET_DrawBuffers.patch

Added: trunk/dports/x11/mesa/files/1001-darwin-Fix-install-name-of-libOSMesa.patch
===================================================================
--- trunk/dports/x11/mesa/files/1001-darwin-Fix-install-name-of-libOSMesa.patch	                        (rev 0)
+++ trunk/dports/x11/mesa/files/1001-darwin-Fix-install-name-of-libOSMesa.patch	2015-02-11 10:37:53 UTC (rev 132833)
@@ -0,0 +1,27 @@
+From 1885f228e38f4200643ad41d717c8cf7fa20db12 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Wed, 11 Feb 2015 02:29:07 -0800
+Subject: [PATCH] darwin: Fix install name of libOSMesa
+
+libOSMesa is a library, not a module
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+---
+ src/mesa/drivers/osmesa/Makefile.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
+index 589b5ee..8d69915 100644
+--- a/src/mesa/drivers/osmesa/Makefile.am
++++ b/src/mesa/drivers/osmesa/Makefile.am
+@@ -39,7 +39,6 @@ nodist_EXTRA_lib at OSMESA_LIB@_la_SOURCES = dummy.cpp
+ lib at OSMESA_LIB@_la_SOURCES = osmesa.c
+ 
+ lib at OSMESA_LIB@_la_LDFLAGS = \
+-	-module \
+ 	-no-undefined \
+ 	-version-number @OSMESA_VERSION@ \
+ 	$(GC_SECTIONS) \
+-- 
+2.3.0
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/3b200ceb/attachment.html>


More information about the macports-changes mailing list