Subject: pkg/30668: postgresql80-client failed to install man pages on solaris 8
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pierre.bourgin@pcotech.fr>
List: pkgsrc-bugs
Date: 07/05/2005 09:33:00
>Number:         30668
>Category:       pkg
>Synopsis:       postgresql80-client failed to install man pages on solaris 8
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 05 09:33:00 +0000 2005
>Originator:     pierre bourgin
>Release:        solaris 8 / sparc
>Organization:
PCO technologies
>Environment:
SunOS dapkg 5.8 Generic_117350-12 sun4u sparc SUNW,Ultra-5_10

>Description:
the postgresql80-client/PLIST file lists man pages in man1/ and man7/, but postgreSQL makefiles for solaris prepares man pages as .1 and .5sql files and install them respectively in man1/ and man5/.


>How-To-Repeat:
% cd databases/postgresql80-client
% make install
>Fix:

patch the src/makefiles/Makefile.solaris file with this patch:

--------------------------------------------------------------------
% cat databases/postgresql80/patches/patch-ab
$NetBSD$

--- src/makefiles/Makefile.solaris.orig Tue Dec 21 19:47:42 2004
+++ src/makefiles/Makefile.solaris      Tue Jul  5 09:53:34 2005
@@ -19,4 +19,4 @@
 %.so: %.o
        $(LD) -G -Bdynamic -o $@ $<

-sqlmansect = 5sql
+sqlmansect = 7
--------------------------------------------------------------------

this patch is located into databases/postgresql80/patches/, since 
all patches about postgresql80 are stored in this directory (and not in databases/postgresql80-client/patches/).