ruby18-postgres-0.7.1_1 and postgresql 7.1.3

Peter C. Lai sirmoo at cowbert.2y.net
Mon Jan 24 15:21:08 PST 2005


Hi

the ruby18-postgres-0.7.1_1 port will not build with the postgresql 7.1.3 
port installed.

The required changes to postgres.c:18 and 19 are:

--- postgres.c  Sun Jan  5 20:38:20 2003
+++ postgres.pcl.c      Mon Jan 24 17:05:42 2005
@@ -16,6 +16,6 @@
 #include "rubyio.h"
 
-#include <libpq-fe.h>
-#include <libpq/libpq-fs.h>              /* large-object interface */
+#include <pgsql/libpq-fe.h>
+#include <pgsql/libpq/libpq-fs.h>              /* large-object interface */
 #include <stdio.h>
 #include <stdlib.h>

The module is reported by http://www.postgresql.jp/interfaces/ruby/ to 
work on pgsql 7.1, so I think that is all that is necessary.

Also, is someone working on a rails port? Currently it is available via
gems, but is there any interest in a standalone port?

peter
-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/



More information about the freebsd-ports mailing list