pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44678: postgresql84-server doesn't set PG_PREFIX in pgsql.sh



>Number:         44678
>Category:       pkg
>Synopsis:       postgresql84-server doesn't set PG_PREFIX in pgsql.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 04 08:50:03 +0000 2011
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.1
>Organization:
none
>Environment:
NetBSD 10.0.2.17 5.1 NetBSD 5.1 (GENERIC.nouadio) #0: Sun Feb 27 17:00:48 UTC 
2011  root@10.0.2.17:/obj/sys/arch/i386/compile/GENERIC.nouadio i386
>Description:
# /usr/pkg/etc/rc.d/pgsql start
Initializing PostgreSQL databases.
ksh: @PG_PREFIX@/bin/initdb: not found
>How-To-Repeat:
see Full Description
>Fix:
--- Makefile.orig       2011-03-04 08:44:04.000000000 +0000
+++ Makefile    2011-03-04 08:35:59.000000000 +0000
@@ -55,6 +55,7 @@
 FILES_SUBST+=          PGUSER=${PGUSER}
 FILES_SUBST+=          PGGROUP=${PGGROUP}
 FILES_SUBST+=          PGHOME=${PGHOME}
+FILES_SUBST+=          PG_PREFIX=${PREFIX}
 BUILD_DEFS+=           PGHOME
 
 PKG_GROUPS_VARS+=      PGGROUP



Home | Main Index | Thread Index | Old Index