[55994] trunk/dports/devel/opal/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 22 15:44:18 PDT 2009


Revision: 55994
          http://trac.macports.org/changeset/55994
Author:   ryandesign at macports.org
Date:     2009-08-22 15:44:18 -0700 (Sat, 22 Aug 2009)
Log Message:
-----------
opal:

 * do darwin stuff in the platform darwin section
 * do patch stuff in the patch phase, not the build phase

Modified Paths:
--------------
    trunk/dports/devel/opal/Portfile

Modified: trunk/dports/devel/opal/Portfile
===================================================================
--- trunk/dports/devel/opal/Portfile	2009-08-22 22:40:12 UTC (rev 55993)
+++ trunk/dports/devel/opal/Portfile	2009-08-22 22:44:18 UTC (rev 55994)
@@ -29,14 +29,17 @@
                     sha1    550359a1fb1f75f5e343d123383cbc659136dabd \
                     rmd160  e9a1ab4a08198aeebfe5784868a2ae68b0b145fc
 
-patchfiles          patch-src-SConstruct.diff
+platform darwin {
+    # Build libopal-ode.dylib properly
+    patchfiles-append patch-src-SConstruct.diff
+    post-patch {
+        reinplace "s|@prefix@|${prefix}|" ${worksrcpath}/SConstruct
+    }
+}
 
 use_configure       no
 
 use_parallel_build  yes
-pre-build {
-    reinplace "s|@prefix@|${prefix}|" ${worksrcpath}/SConstruct
-}
 build.cmd           scons
 build.target
 build.args          extra_include_path=${prefix}/include \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090822/34653a5e/attachment.html>


More information about the macports-changes mailing list