Makefile Patch

Started by Brian P Millettalmost 27 years ago2 messageshackers
Jump to latest
#1Brian P Millett
bpm@ec-group.com

To get the latest cvs snapshot (19990520) to be installed, I had to make
the following patch to the src/interfaces/Makefile

vlad: diff -w3c ../../pgsql.old/src/interfaces/Makefile
interfaces/Makefile
*** ../../pgsql.old/src/interfaces/Makefile Thu May 13 16:52:12 1999

--- interfaces/Makefile Mon May 10 12:01:25 1999
***************
*** 52,58 ****
        $(MAKE) -C perl5 clean
        cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
        $(MAKE) -C perl5 all
!       @if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ];
then \
                $(MAKE) $(MFLAGS) -C perl5 install; \
                rm -f perl5/Makefile; \
        else \
--- 52,58 ----
        $(MAKE) -C perl5 clean
        cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
        $(MAKE) -C perl5 all
!       @if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p'
perl5/Makefile` ]; then \
                $(MAKE) $(MFLAGS) -C perl5 install; \
                rm -f perl5/Makefile; \
        else \

--
Brian Millett
Enterprise Consulting Group "Heaven can not exist,
(314) 205-9030 If the family is not eternal"
bpm@ec-group.com F. Ballard Washburn

#2Bruce Momjian
bruce@momjian.us
In reply to: Brian P Millett (#1)
Re: [HACKERS] Makefile Patch

But I applied this a few weeks ago, and my copy has it. Are you sure
you are updated?

To get the latest cvs snapshot (19990520) to be installed, I had to make
the following patch to the src/interfaces/Makefile

vlad: diff -w3c ../../pgsql.old/src/interfaces/Makefile
interfaces/Makefile
*** ../../pgsql.old/src/interfaces/Makefile Thu May 13 16:52:12 1999

--- interfaces/Makefile Mon May 10 12:01:25 1999
***************
*** 52,58 ****
$(MAKE) -C perl5 clean
cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
$(MAKE) -C perl5 all
!       @if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ];
then \
$(MAKE) $(MFLAGS) -C perl5 install; \
rm -f perl5/Makefile; \
else \
--- 52,58 ----
$(MAKE) -C perl5 clean
cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
$(MAKE) -C perl5 all
!       @if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p'
perl5/Makefile` ]; then \
$(MAKE) $(MFLAGS) -C perl5 install; \
rm -f perl5/Makefile; \
else \

--
Brian Millett
Enterprise Consulting Group "Heaven can not exist,
(314) 205-9030 If the family is not eternal"
bpm@ec-group.com F. Ballard Washburn

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026