summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-01 17:12:50 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-01 17:12:50 +0000
commit4eb98295d763543bd25ecdd9a3927ffa190a4c5c (patch)
tree944b968ff3d7b06ded44da92d7daa42c019259e2 /ftp
parentDepend on latest autoconf and automake to ensure builds correctly (diff)
make pgsql support work again
PR: 43741 Submitted by: Rong-en Fan <rafan@infor.org> Approved by: maintainer (mharo) timeout (1 month)
Notes
Notes: svn path=/head/; revision=69255
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile2
-rw-r--r--ftp/proftpd-devel/files/patch-pgsql11
-rw-r--r--ftp/proftpd/Makefile2
-rw-r--r--ftp/proftpd/files/patch-pgsql11
4 files changed, 24 insertions, 2 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index fbb22bd8b4ee..8e6da40bae12 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -58,7 +58,7 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.if defined(WITH_POSTGRES)
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
-INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
.endif
diff --git a/ftp/proftpd-devel/files/patch-pgsql b/ftp/proftpd-devel/files/patch-pgsql
new file mode 100644
index 000000000000..9c169e79c8f6
--- /dev/null
+++ b/ftp/proftpd-devel/files/patch-pgsql
@@ -0,0 +1,11 @@
+--- ./contrib/mod_sql_postgres.c.orig Sun Oct 6 21:47:43 2002
++++ ./contrib/mod_sql_postgres.c Sun Oct 6 21:47:50 2002
+@@ -35,7 +35,7 @@
+
+ #define _POSTGRES_PORT "5432"
+
+-#include <pgsql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include "conf.h"
+ #include "../contrib/mod_sql.h"
+
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index fbb22bd8b4ee..8e6da40bae12 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -58,7 +58,7 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.if defined(WITH_POSTGRES)
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
-INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
.endif
diff --git a/ftp/proftpd/files/patch-pgsql b/ftp/proftpd/files/patch-pgsql
new file mode 100644
index 000000000000..9c169e79c8f6
--- /dev/null
+++ b/ftp/proftpd/files/patch-pgsql
@@ -0,0 +1,11 @@
+--- ./contrib/mod_sql_postgres.c.orig Sun Oct 6 21:47:43 2002
++++ ./contrib/mod_sql_postgres.c Sun Oct 6 21:47:50 2002
+@@ -35,7 +35,7 @@
+
+ #define _POSTGRES_PORT "5432"
+
+-#include <pgsql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include "conf.h"
+ #include "../contrib/mod_sql.h"
+