I discovered that there is a problem with the Guile 1.8 port. It includes a patch left over from the 1.6 version which is no longer relevant (and which causes problems) in version 1.8. It also fails to add some symlinks that are needed to make it work with Gnucash. I've attached a patch that fixes this (and adds a +debug variant). With these changes the current SVN version of Gnucash works with Guile 1.8. I haven't tried it with the Macports version of Gnucash, but it might work too.

After applying the Portfile patch, the file patch-slib.scm is no longer needed and could be deleted.

I'm not currently getting messages from the list since I'm on the road and trying to cut down on EMail, so reply directly if you need to contact me about this.

--
Mike Alexander           [EMAIL PROTECTED]
Ann Arbor, MI            PGP key ID: BEA343A6
Index: lang/guile/Portfile
===================================================================
--- lang/guile/Portfile	(revision 32116)
+++ lang/guile/Portfile	(working copy)
@@ -36,8 +36,7 @@
 
 checksums	md5 7fd016924e1bc3e273f4009a080942de
 
-patchfiles	fix-64bit-problems.diff	\
-		patch-slib.scm
+patchfiles	fix-64bit-problems.diff
 
 depends_lib	port:readline port:gmp
 
@@ -59,6 +58,21 @@
 #		  file delete
${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
 #		}
 
+platform darwin {
+	post-destroot {
+		system "cd ${destroot}${prefix}/lib/ && \
+		ln -s libguilereadline-v-17.17.0.2.dylib libguilereadline-v-17.so && \
+		ln -s libguile-srfi-srfi-1-v-3.3.0.1.dylib
libguile-srfi-srfi-1-v-3.so"
+	}
+}
+
+variant debug {
+        configure.cflags -O0 -g
+        configure.cxxflags -O0 -g
+        configure.f90flags -O0 -g
+        configure.fflags -O0 -g
+}
+
 livecheck.check regex
 livecheck.url   "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D";
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to