[95497] trunk/dports/devel/ocamlsdl
mww at macports.org
mww at macports.org
Sat Jul 14 00:11:52 PDT 2012
Revision: 95497
https://trac.macports.org/changeset/95497
Author: mww at macports.org
Date: 2012-07-14 00:11:51 -0700 (Sat, 14 Jul 2012)
Log Message:
-----------
ocamlsdl: reintegrate patch, inc revision (compiled native program crash w/o)
Modified Paths:
--------------
trunk/dports/devel/ocamlsdl/Portfile
Removed Paths:
-------------
trunk/dports/devel/ocamlsdl/files/patch-configure.diff
Modified: trunk/dports/devel/ocamlsdl/Portfile
===================================================================
--- trunk/dports/devel/ocamlsdl/Portfile 2012-07-14 06:58:39 UTC (rev 95496)
+++ trunk/dports/devel/ocamlsdl/Portfile 2012-07-14 07:11:51 UTC (rev 95497)
@@ -5,6 +5,7 @@
name ocamlsdl
version 0.9.1
+revision 1
categories devel multimedia
license LGPL
maintainers mww openmaintainer
@@ -24,6 +25,10 @@
configure.args --disable-sdltest
configure.env OCAMLFIND=${ocamlfind_wrapper}
+post-configure {
+ reinplace "s|-Wl,-framework,Cocoa|-framework Cocoa|g" ${worksrcpath}/makefile.config.gcc
+}
+
pre-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
Deleted: trunk/dports/devel/ocamlsdl/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/ocamlsdl/files/patch-configure.diff 2012-07-14 06:58:39 UTC (rev 95496)
+++ trunk/dports/devel/ocamlsdl/files/patch-configure.diff 2012-07-14 07:11:51 UTC (rev 95497)
@@ -1,16 +0,0 @@
---- configure.orig 2009-03-25 14:43:25.000000000 +0100
-+++ configure 2009-03-25 15:01:53.000000000 +0100
-@@ -6308,6 +6308,13 @@
- echo "$as_me: updating makefile.platform" >&6;}
- sed -i -e "s/^PLATFORM.*/PLATFORM = $PLATFORM/" makefile.platform
-
-+##### Macports patches #####
-+echo
-+echo "Patching makefile.config.gcc for Macports..."
-+mv makefile.config.gcc makefile.config.gcc.orig
-+/usr/bin/perl -e "while (<>){ s/-Wl,-framework,Cocoa/-framework Cocoa/; print; }" < makefile.config.gcc.orig > makefile.config.gcc
-+##### end of patches #####
-+
- # Output the configuration summary
- echo
- echo "Configure summary:"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120714/f8e138e2/attachment-0001.html>
More information about the macports-changes
mailing list