From owner-freebsd-binup Sun Dec 22 9:14:28 2002 Delivered-To: freebsd-binup@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5756037B401 for ; Sun, 22 Dec 2002 09:14:27 -0800 (PST) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4A743EDE for ; Sun, 22 Dec 2002 09:14:26 -0800 (PST) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 5BBA510BF8F; Sun, 22 Dec 2002 18:14:24 +0100 (CET) Date: Sun, 22 Dec 2002 18:14:24 +0100 From: "Simon L. Nielsen" To: freebsd-binup@freebsd.org Subject: Minor build patch Message-ID: <20021222171423.GG380@nitro.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello To get things started here is a small patch to make binup actually build against recent postgresql. -- Simon L. Nielsen --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="build_pgsql.patch" Index: server/Makefile =================================================================== RCS file: /home/mirror/freebsd/ncvs/projects/binup/server/Makefile,v retrieving revision 1.7 diff -u -d -r1.7 Makefile --- server/Makefile 19 Dec 2000 12:36:30 -0000 1.7 +++ server/Makefile 22 Dec 2002 17:07:12 -0000 @@ -3,6 +3,8 @@ # # Murray Stokely # +# $FreeBSD +# CC = gcc CFLAGS = -g -Wall -I../common/ @@ -27,8 +29,8 @@ MYSQLOBJS = mysql.o ## PostgreSQL Support -PGSQLLIBS = -L/usr/local/pgsql/lib -lpq -PGSQLINCS = -I/usr/local/pgsql/include +PGSQLLIBS = -L/usr/local/lib -lpq +PGSQLINCS = -I/usr/local/include PGSQLOBJS = pgsql.o .if defined(WITH_PGSQL) || exists(/usr/local/pgsql/) --n8g4imXOkfNTN/H1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message