[49124] trunk/dports/lang/mosml

mcalhoun at macports.org mcalhoun at macports.org
Fri Apr 3 23:18:12 PDT 2009


Revision: 49124
          http://trac.macports.org/changeset/49124
Author:   mcalhoun at macports.org
Date:     2009-04-03 23:18:11 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
mosml: Ensure correct compiler is used.
Fixes #19057 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/lang/mosml/Portfile

Removed Paths:
-------------
    trunk/dports/lang/mosml/files/patch-configure.diff

Modified: trunk/dports/lang/mosml/Portfile
===================================================================
--- trunk/dports/lang/mosml/Portfile	2009-04-04 06:12:20 UTC (rev 49123)
+++ trunk/dports/lang/mosml/Portfile	2009-04-04 06:18:11 UTC (rev 49124)
@@ -14,15 +14,19 @@
 master_sites      http://www.dina.kvl.dk/~sestoft/mosml
 distfiles         mos201src.tar.gz
 checksums         md5 74aaaf988201fe92a9dbfbcb1e646f70
-patchfiles        patch-configure.diff\
-                  patch-src-Makefile.diff\
+patchfiles        patch-src-Makefile.diff\
                   patch-src-Makefile-inc.diff\
                   patch-src-launch-Makefile.diff\
                   patch-src-dynlibs.diff
+worksrcdir        mosml
 post-patch {
-  file attributes configure -permissions +x
+   reinplace  "s|/usr/bin/cpp|${configure.cpp}|"  ${worksrcpath}/src/Makefile.inc
+   reinplace  "s|LD=gcc|LD=${configure.cc}|"      ${worksrcpath}/src/Makefile.inc
+   reinplace  "s|CC=gcc|CC=${configure.cc}|"      ${worksrcpath}/src/Makefile.inc
 }
-worksrcdir        mosml
+configure.dir     ${worksrcpath}/src/config
+configure.cmd     ./autoconf
+configure.pre_args ${configure.cc}
 build.target      world
 build.pre_args    -Csrc DESTROOT=${prefix} ${build.target}
 destroot.pre_args -Csrc DESTROOT=${destroot}${prefix} ${destroot.target}

Deleted: trunk/dports/lang/mosml/files/patch-configure.diff
===================================================================
--- trunk/dports/lang/mosml/files/patch-configure.diff	2009-04-04 06:12:20 UTC (rev 49123)
+++ trunk/dports/lang/mosml/files/patch-configure.diff	2009-04-04 06:18:11 UTC (rev 49124)
@@ -1,8 +0,0 @@
---- configure	2006-08-27 16:12:46.000000000 +0200
-+++ configure	2006-08-27 16:07:47.000000000 +0200
-@@ -0,0 +1,5 @@
-+#!/bin/sh
-+cd src/config
-+./autoconf
-+cd ..
-+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/6d30841e/attachment-0001.html>


More information about the macports-changes mailing list