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

From sugita@sra.co.jp
Subject install-sh patch for Mac OS X
Date
Msg-id 20020710.191135.41648461.sugita@sra.co.jp
Whole thread Raw
Responses Re: install-sh patch for Mac OS X
List pgsql-patches
This is a small patch for following error.

    $ make
    cc -fno-common -g -O2 -fno-common -pipe -no-precomp -I/opt/pgsql/7.2.1/include
    -I/sw/lib/ruby/1.6/powerpc-darwin5.5 -I. -I/sw/include -DHAVE_SYS_UN_H
    -DHAVE_SOCKET -DHAVE_GETHOSTNAME -I/sw/include  -c -o postgres.o postgres.c
    cc -dynamic -bundle -undefined suppress -flat_namespace  -L/sw/lib
    -L/opt/pgsql/7.2.1/lib -o postgres.bundle postgres.o -L. -lruby -lpq
    /usr/bin/ld: table of contents for archive: /opt/pgsql/7.2.1/lib/libpq.a is
    out of date; rerun ranlib(1) (can't load from it)
    make: *** [postgres.bundle] Error 1
    $
Index: config/install-sh
===================================================================
RCS file: /home/mgr/sugita/jobs/cvs-master/pgsql/src/7.2.1/build/config/install-sh,v
retrieving revision 1.1
diff -u -r1.1 install-sh
--- config/install-sh    2002/04/08 02:25:06    1.1
+++ config/install-sh    2002/07/10 10:06:41
@@ -33,7 +33,7 @@
 # put in absolute paths if you don't have them in your path; or use env. vars.

 mvprog="${MVPROG-mv}"
-cpprog="${CPPROG-cp}"
+cpprog="${CPPROG-cp -p}"
 chmodprog="${CHMODPROG-chmod}"
 chownprog="${CHOWNPROG-chown}"
 chgrpprog="${CHGRPPROG-chgrp}"

pgsql-patches by date:

Previous
From: Brent Verner
Date:
Subject: COPY with column list
Next
From: Tom Lane
Date:
Subject: Re: install-sh patch for Mac OS X