aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd
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/proftpd
parent73d80d1d411ded1347bcb6c96acd68c2f3d89d7f (diff)
downloadports-4eb98295d763543bd25ecdd9a3927ffa190a4c5c.tar.gz
ports-4eb98295d763543bd25ecdd9a3927ffa190a4c5c.zip
Notes
Diffstat (limited to 'ftp/proftpd')
-rw-r--r--ftp/proftpd/Makefile2
-rw-r--r--ftp/proftpd/files/patch-pgsql11
2 files changed, 12 insertions, 1 deletions
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"
+