From owner-freebsd-ports Sun Oct 6 7:10:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1487D37B401 for ; Sun, 6 Oct 2002 07:10:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D25743E6E for ; Sun, 6 Oct 2002 07:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g96EADCo021678 for ; Sun, 6 Oct 2002 07:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g96EADSm021677; Sun, 6 Oct 2002 07:10:13 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47CA937B401 for ; Sun, 6 Oct 2002 07:02:06 -0700 (PDT) Received: from muse.csie.ntu.edu.tw (muse.csie.ntu.edu.tw [140.112.28.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id D992E43E3B for ; Sun, 6 Oct 2002 07:02:05 -0700 (PDT) (envelope-from rafan@muse.csie.ntu.edu.tw) Received: by muse.csie.ntu.edu.tw (Postfix, from userid 1001) id C7B5D6B7; Sun, 6 Oct 2002 22:01:36 +0800 (CST) Message-Id: <20021006140136.C7B5D6B7@muse.csie.ntu.edu.tw> Date: Sun, 6 Oct 2002 22:01:36 +0800 (CST) From: Rong-en Fan Reply-To: Rong-en Fan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43741: proftpd with pgsql header files in wrong place Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 ++#include + #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