[131743] trunk/dports/perl/p5-opengl

devans at macports.org devans at macports.org
Fri Jan 16 15:59:39 PST 2015


Revision: 131743
          https://trac.macports.org/changeset/131743
Author:   devans at macports.org
Date:     2015-01-16 15:59:39 -0800 (Fri, 16 Jan 2015)
Log Message:
-----------
p5-opengl: update to version 0.6704, use the right compiler, license.

Modified Paths:
--------------
    trunk/dports/perl/p5-opengl/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-opengl/files/
    trunk/dports/perl/p5-opengl/files/patch-utils-Makefile.macosx.diff

Modified: trunk/dports/perl/p5-opengl/Portfile
===================================================================
--- trunk/dports/perl/p5-opengl/Portfile	2015-01-16 23:10:19 UTC (rev 131742)
+++ trunk/dports/perl/p5-opengl/Portfile	2015-01-16 23:59:39 UTC (rev 131743)
@@ -5,7 +5,14 @@
 PortGroup           perl5 1.0
 
 perl5.branches      5.16 5.18 5.20
-perl5.setup         OpenGL 0.6703
+perl5.setup         OpenGL 0.6704
+# can be distributed under the same terms as Perl itself
+# see http://search.cpan.org/dist/OpenGL/OpenGL.pod#AUTHORS
+# however, to correctly configure OpenGL capabilities,
+# it must be able to access the display on the
+# target machine during the configure phase
+# set license to unknown to suppress binary distribution
+license             unknown
 maintainers         nomaintainer
 description         Perl OpenGL: a.k.a. POGL
 long_description    Perl OpenGL (a.k.a. POGL) is a perl5 interface to \
@@ -18,5 +25,13 @@
 
 platforms           darwin
 
-checksums           rmd160  13923860343402e1a2585cbf70394fcbd9365705 \
-                    sha256  62f8cdf019fbdb6d095bc5f31382d123bceb9aabbba5788ecf416282de47534c
+checksums           rmd160  aa15a63eab5ac1c2114edb4ebbdf95522a7927ca \
+                    sha256  36f266e31d617fa9a1bd8928a7dc3b7c40c1bbbfa64bddefe22300ac2bc6c436
+
+if {${perl5.major} != ""} {
+    patchfiles      patch-utils-Makefile.macosx.diff
+
+    post-patch {
+        reinplace "s|@@MP_CC@@|${configure.cc}|" ${worksrcpath}/utils/Makefile.macosx
+    }
+}

Added: trunk/dports/perl/p5-opengl/files/patch-utils-Makefile.macosx.diff
===================================================================
--- trunk/dports/perl/p5-opengl/files/patch-utils-Makefile.macosx.diff	                        (rev 0)
+++ trunk/dports/perl/p5-opengl/files/patch-utils-Makefile.macosx.diff	2015-01-16 23:59:39 UTC (rev 131743)
@@ -0,0 +1,15 @@
+--- utils/Makefile.macosx.orig	2015-01-16 15:08:44.000000000 -0800
++++ utils/Makefile.macosx	2015-01-16 15:18:39.000000000 -0800
+@@ -1,10 +1,10 @@
+ #!make
+ 
+-CC=cc
++CC=@@MP_CC@@
+ # Should not be using local includes on non-win32 systems
+ # CCFLAGS=-I/usr/X11/include -I../include
+ CCFLAGS=  # no includes needed, Apple GCC will automatically pick up system frameworks
+-LINK=cc
++LINK=${CC}
+ LDFLAGS=-framework AGL -framework OpenGL -framework GLUT
+ 
+ all: glversion.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150116/5b7ecb53/attachment.html>


More information about the macports-changes mailing list