Date: Sun, 6 Oct 2002 22:01:36 +0800 (CST) From: Rong-en Fan <rafan@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/43741: proftpd with pgsql header files in wrong place Message-ID: <20021006140136.C7B5D6B7@muse.csie.ntu.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 43741 >Category: ports >Synopsis: proftpd with pgsql header files in wrong place >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 06 07:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Rong-en Fan >Release: FreeBSD 4.6.2-RELEASE-p2 i386 >Organization: Dept. of CSIE, NTU >Environment: System: FreeBSD muse.csie.ntu.edu.tw 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Fri Oct 4 19:47:49 CST 2002 root@muse.csie.ntu.edu.tw:/home/obj/usr/src/sys/MUSE i386 >Description: If make ftp/proftpd with pgsql support, it looks libpg-fe.h in include/pgsql, which is wrong. Thus, it won't build with pgsql. >How-To-Repeat: # cd /usr/ports/ftp/proftpd && make -DWITH_POSTGRES Then, you'll get error. >Fix: This diff fixes it, which includes a new patch file. diff -ruN proftpd.orig/Makefile proftpd/Makefile --- proftpd.orig/Makefile Sun Oct 6 21:46:47 2002 +++ proftpd/Makefile Sun Oct 6 21:48:45 2002 @@ -58,7 +58,7 @@ .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 -ruN proftpd.orig/files/patch-pgsql proftpd/files/patch-pgsql --- proftpd.orig/files/patch-pgsql Thu Jan 1 08:00:00 1970 +++ proftpd/files/patch-pgsql Sun Oct 6 21:48:25 2002 @@ -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" + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021006140136.C7B5D6B7>