[31690] trunk/dports/devel/slib-guile16/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 3 01:15:59 PST 2007


Revision: 31690
          http://trac.macosforge.org/projects/macports/changeset/31690
Author:   ryandesign at macports.org
Date:     2007-12-03 01:15:58 -0800 (Mon, 03 Dec 2007)

Log Message:
-----------
slib-guile16: fix using the port (info, portindex, etc.) when guile16 is not already installed. I broke this in r31678. See #13319.

Modified Paths:
--------------
    trunk/dports/devel/slib-guile16/Portfile

Modified: trunk/dports/devel/slib-guile16/Portfile
===================================================================
--- trunk/dports/devel/slib-guile16/Portfile	2007-12-03 09:14:57 UTC (rev 31689)
+++ trunk/dports/devel/slib-guile16/Portfile	2007-12-03 09:15:58 UTC (rev 31690)
@@ -19,9 +19,9 @@
 
 set guile		${prefix}/bin/guile16
 set guile-config	${prefix}/bin/guile16-config
-set guile-branch	[join [lrange [split [exec ${guile-config} info guileversion] .] 0 1] .]
 
 destroot {
+	set guile-branch [join [lrange [split [exec ${guile-config} info guileversion] .] 0 1] .]
 	system "mkdir -p ${workpath}/destroot/${prefix}/share/guile"
 	system "mkdir -p ${workpath}/destroot/${prefix}/share/guile/${guile-branch}"
 	system "ln -s ${prefix}/lib/slib ${workpath}/destroot/${prefix}/share/guile/${guile-branch}/slib"

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


More information about the macports-changes mailing list