summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-01 17:12:50 +0000
committerijliao <ijliao@FreeBSD.org>2002-11-01 17:12:50 +0000
commitf06c6b6999823a7618ed576bb8806b3919a19c80 (patch)
tree65893a0eff578dd2fafc22f864991403a54ff2d6 /ftp
parent40263d7fdb6ad5391eaa0944c86338e04bc1879c (diff)
downloadFreeBSD-ports-f06c6b6999823a7618ed576bb8806b3919a19c80.zip
FreeBSD-ports-f06c6b6999823a7618ed576bb8806b3919a19c80.tar.gz
make pgsql support work again
PR: 43741 Submitted by: Rong-en Fan <rafan@infor.org> Approved by: maintainer (mharo) timeout (1 month)
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 fbb22bd..8e6da40 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 0000000..9c169e7
--- /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 fbb22bd..8e6da40 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 0000000..9c169e7
--- /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"
+
OpenPOWER on IntegriCloud