Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 22:04:48 +1200 (NZST)
From:      dan@freebsddiary.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20137: postgresql7 user message contains $PREFIX not /usr/local
Message-ID:  <200007241004.WAA09292@set.freshports.org>

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

>Number:         20137
>Category:       ports
>Synopsis:       postgresql7 user message contains $PREFIX not /usr/local
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 03:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	

>Description:

	

>How-To-Repeat:

	

>Fix:

diff -druN postgresql7.original/Makefile postgresql7/Makefile
--- postgresql7.original/Makefile	Mon Jul 24 20:50:08 2000
+++ postgresql7/Makefile	Mon Jul 24 20:59:05 2000
@@ -248,7 +248,7 @@
 #	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
 .endif
 .if !defined(BATCH)
-	@ more -e ${FILESDIR}/post-install-notes
+	@ ${SED} -e "s#%%PREFIX%%#${PREFIX}#" ${FILESDIR}/post-install-notes | more
 .endif
 .if !defined(DEBUG_FLAGS)
 .for file in ecpg pg_dump pg_id pg_passwd pg_version postgres psql
diff -druN postgresql7.original/files/post-install-notes postgresql7/files/post-install-notes
--- postgresql7.original/files/post-install-notes	Mon Jul 24 20:44:58 2000
+++ postgresql7/files/post-install-notes	Mon Jul 24 20:51:05 2000
@@ -13,4 +13,4 @@
 operations.
 
 To start PostgreSQL, run the startup script:
-$PREFIX/etc/rc.d/pgsql.sh start
+%%PREFIX%%/etc/rc.d/pgsql.sh start

>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?200007241004.WAA09292>