[119889] trunk/dports/graphics/glew/Portfile

mmoll at macports.org mmoll at macports.org
Fri May 9 00:30:05 PDT 2014


Revision: 119889
          https://trac.macports.org/changeset/119889
Author:   mmoll at macports.org
Date:     2014-05-09 00:30:05 -0700 (Fri, 09 May 2014)
Log Message:
-----------
graphics/glew: fix pkgconfig files

Modified Paths:
--------------
    trunk/dports/graphics/glew/Portfile

Modified: trunk/dports/graphics/glew/Portfile
===================================================================
--- trunk/dports/graphics/glew/Portfile	2014-05-09 06:06:57 UTC (rev 119888)
+++ trunk/dports/graphics/glew/Portfile	2014-05-09 07:30:05 UTC (rev 119889)
@@ -54,4 +54,14 @@
     default_variants +x11
 }
 
+post-destroot {
+    reinplace "s|${destroot}||g" \
+        ${destroot}${prefix}/lib/pkgconfig/glew.pc \
+        ${destroot}${prefix}/lib/pkgconfig/glewmx.pc
+    # glew is compiled with -DGLEW_NO_GLU
+    reinplace "s|Requires: glu||g" \
+        ${destroot}${prefix}/lib/pkgconfig/glew.pc \
+        ${destroot}${prefix}/lib/pkgconfig/glewmx.pc
+}
+
 livecheck.type     sourceforge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140509/24eaa0cf/attachment.html>


More information about the macports-changes mailing list