summaryrefslogtreecommitdiff
path: root/databases/gtksql
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
commit7b488295120bfec78abcdd29c219fd0995676c04 (patch)
tree24fccee7f220d354bab8169352f38ae33d6ecb56 /databases/gtksql
parentUpgrade to 7.1, change to new layout style. (diff)
Fix include directory for postgresql7.1's new layout.
Notes
Notes: svn path=/head/; revision=41759
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"