Subject: pkg/23829: databases/postgresql-client uses a incompatible switch to ${PAX}; problems on non-NetBSD systems
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 12/21/2003 18:06:01
>Number:         23829
>Category:       pkg
>Synopsis:       databases/postgresql-client uses a incompatible switch to ${PAX}; problems on non-NetBSD systems
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 18:07:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
Good people with bad reputation
>Environment:
FreeBSD mainframe.w.lub.pl 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
postgresql-client/Makefile uses -O switch to ${PAX}, which is not available on FreeBSD (compare: 
http://www.FreeBSD.org/cgi/man.cgi?query=pax&apropos=0&sektion=0&manpath=NetBSD+1.6.1&format=html

and

http://www.FreeBSD.org/cgi/man.cgi?query=pax&apropos=0&sektion=0&manpath=FreeBSD+4.9-stable&format=html )

As this option is really unnecessary, I suggest we don't use it.
>How-To-Repeat:
Obvious
>Fix:
--- Makefile~   Sat Dec 20 14:56:39 2003
+++ Makefile    Sun Dec 21 17:59:55 2003
@@ -27,7 +27,7 @@
 
 post-install:
        cd ${PREFIX}/man &&                                             \
-               ${PAX} -O -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
+               ${PAX} -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
 
 .include "../../databases/postgresql-lib/buildlink2.mk"
 .include "../../devel/readline/buildlink2.mk"

>Release-Note:
>Audit-Trail:
>Unformatted: