Once all the appropriate packages are installed (devel/py-qt4,
textproc/asciidoc, and textproc/xmlto at least), "python setup.py build"
works if it runs gmake instead of (bsd) make.  I assume this holds for
other FreeBSD versions (certainly should for 9.x).

Chris

diff -r 618c645aff6d setup.py
--- a/setup.py  Fri Apr 19 15:22:45 2013 +0200
+++ b/setup.py  Sat May 04 01:40:52 2013 -0600
@@ -163,8 +163,12 @@
     def run(self):
         # be sure to compile man page
         self.mkpath(self.build_dir)
+        if sys.platform.startswith('freebsd'):
+            make_cmd = 'gmake'
+        else:
+            make_cmd = 'make'
         try:
-            check_call(['make', '-C', self.build_dir,
+            check_call([make_cmd, '-C', self.build_dir,
                         '-f', '../../doc/Makefile', 'VPATH=../../doc'])
         except:
             if not py2exe:
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to