[29495] trunk/dports/devel/readline/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 25 13:05:03 PDT 2007


Revision: 29495
          http://trac.macosforge.org/projects/macports/changeset/29495
Author:   eridius at macports.org
Date:     2007-09-25 13:05:02 -0700 (Tue, 25 Sep 2007)

Log Message:
-----------
Make readline build properly on Leopard

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

Modified: trunk/dports/devel/readline/Portfile
===================================================================
--- trunk/dports/devel/readline/Portfile	2007-09-25 19:34:09 UTC (rev 29494)
+++ trunk/dports/devel/readline/Portfile	2007-09-25 20:05:02 UTC (rev 29495)
@@ -84,12 +84,22 @@
         foreach f {history readline} {
             foreach v {0 1} {
                 system "cd ${destroot}${prefix}/lib && \
-		            ln -s ${prefix}/lib/lib${f}.${milestone}.dylib lib${f}.5.${v}.dylib"
+                ln -s ${prefix}/lib/lib${f}.${milestone}.dylib lib${f}.5.${v}.dylib"
             }
         }
     }
 }
 
+platform darwin 9 {
+    # establish the variant
+}
+
+pre-configure {
+    if {[variant_isset darwin_9]} {
+        reinplace s|darwin8|darwin9|g ${worksrcpath}/support/shobj-conf
+    }
+}
+
 livecheck.check     regex
 livecheck.url       http://ftp.gnu.org/pub/gnu/${name}/?C=M&O=D
 livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070925/7490a41e/attachment.html


More information about the macports-changes mailing list