aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gtksql
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-04-21 19:43:12 +0800
committervanilla <vanilla@FreeBSD.org>2001-04-21 19:43:12 +0800
commitf0a2f2797f4d3272e245e7751bde364a15634c65 (patch)
tree172d9b14a805ee232c5d60d2e8797ff7a8f45e81 /databases/gtksql
parent4f94b9c8c7df606bab11c747db7be3620e297d1c (diff)
downloadfreebsd-ports-gnome-f0a2f2797f4d3272e245e7751bde364a15634c65.tar.gz
freebsd-ports-gnome-f0a2f2797f4d3272e245e7751bde364a15634c65.tar.zst
freebsd-ports-gnome-f0a2f2797f4d3272e245e7751bde364a15634c65.zip
Fix include directory for postgresql7.1's new layout.
Diffstat (limited to 'databases/gtksql')
-rw-r--r--databases/gtksql/Makefile1
-rw-r--r--databases/gtksql/files/patch-aa4
-rw-r--r--databases/gtksql/files/patch-postgres.c11
3 files changed, 14 insertions, 2 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile
index d05a0ae62521..4d553e5a8ba6 100644
--- a/databases/gtksql/Makefile
+++ b/databases/gtksql/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtksql
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.multimania.com/bbrox/GtkSQL/
diff --git a/databases/gtksql/files/patch-aa b/databases/gtksql/files/patch-aa
index dd92f953583d..a75bec6e00e4 100644
--- a/databases/gtksql/files/patch-aa
+++ b/databases/gtksql/files/patch-aa
@@ -11,8 +11,8 @@
-PGSQLIBS = -L/usr/local/pgsql/lib -lpq
-PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL
-PGSQLOBJS = postgres.o
-+#PGSQLIBS = -L/usr/local/pgsql/lib -lpq
-+#PGSQLCFLAGS = -I/usr/local/pgsql/include -DUSE_POSTGRESQL
++#PGSQLIBS = -L/usr/local/lib -lpq
++#PGSQLCFLAGS = -I/usr/local/include/pgsql -DUSE_POSTGRESQL
+#PGSQLOBJS = postgres.o
# Here, what you need for MySQL
diff --git a/databases/gtksql/files/patch-postgres.c b/databases/gtksql/files/patch-postgres.c
new file mode 100644
index 000000000000..4e291b4cb0b7
--- /dev/null
+++ b/databases/gtksql/files/patch-postgres.c
@@ -0,0 +1,11 @@
+--- postgres.c.orig Sat Apr 21 19:16:37 2001
++++ postgres.c Sat Apr 21 19:16:47 2001
+@@ -18,7 +18,7 @@
+
+ #include <libpq-fe.h>
+ #include <string.h>
+-#include <postgres.h>
++#include <c.h>
+
+ #include "common.h"
+ #include "status.h"