Re: install-sh patch for Mac OS X - Mailing list pgsql-patches

From Tom Lane
Subject Re: install-sh patch for Mac OS X
Date
Msg-id 16638.1026308291@sss.pgh.pa.us
Whole thread Raw
In response to install-sh patch for Mac OS X  (sugita@sra.co.jp)
Responses Re: install-sh patch for Mac OS X
Re: install-sh patch for Mac OS X
List pgsql-patches
sugita@sra.co.jp writes:
> This is a small patch for following error.

> -cpprog="${CPPROG-cp}"
> +cpprog="${CPPROG-cp -p}"

This seems a really *bad* idea.  Won't it cause the executables to be
installed with the wrong ownership (ie, whatever you built them as,
rather than the user you are doing "make install" as)?

Perhaps we need some different installation technique for OS X
(run ranlib again after install?) but I won't agree to
making the above change for all platforms.

            regards, tom lane

pgsql-patches by date:

Previous
From: sugita@sra.co.jp
Date:
Subject: install-sh patch for Mac OS X
Next
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: psql: fix memory leak