Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 10:31:03 -0400 (EDT)
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87624: update databases/slony1 to honor non-standard LOCALBASE
Message-ID:  <20051018143103.0E8DF11450@lorax.kcilink.com>
Resent-Message-ID: <200510181440.j9IEeHVs072653@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87624
>Category:       ports
>Synopsis:       update databases/slony1 to honor non-standard LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 18 14:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vivek Khera
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD lorax.kcilink.com 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Tue Sep 20 15:26:41 EDT 2005 vivek@lorax.kcilink.com:/u/lorax1/usr5/src/sys/i386/compile/LORAX i386


	
>Description:
	

As reported in recent survey, slony1 port doens't properly find postgres
if installed in non-standard LOCALBASE.  This patch updates the Makefile
so it will find the necessary components.

>How-To-Repeat:
	
>Fix:

	


Please don't bump PORTREVISION as this only affects compilation;  anyone with
this already installed is not affected in any way and shouldn't feel like
they need to upgrade.

--- Makefile.old	Tue Oct 18 10:14:31 2005
+++ Makefile	Tue Oct 18 10:26:09 2005
@@ -39,6 +39,16 @@
 SUB_LIST+=	PERLTOOLS="@comment "
 .endif
 
+# let configure find postgres stuff in non-standard places
+CONFIGURE_ARGS+=--with-pgconfigdir=${LOCALBASE}/bin \
+  --with-pgbindir=${LOCALBASE}/bin \
+  --with-pgincludedir=${LOCALBASE}/include \
+  --with-pgincludeserverdir=${LOCALBASE}/include/postgresql/server \
+  --with-pglibdir=${LOCALBASE}/lib \
+  --with-pgpkglibdir=${LOCALBASE}/lib/postgresql \
+  --with-pgsharedir=${LOCALBASE}/share/postgresql
+
+
 DEFAULT_PGSQL_VER?=80
 
 # Setting/finding PostgreSQL version we want.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051018143103.0E8DF11450>