Opened 21 years ago

Last modified 8 years ago

#1064 closed update

Update: Postgres port build fix — at Initial Version

Reported by: danielluke (Daniel J. Luke) Owned by: eric@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: postgresql

Description

Fix postgres to build using '-no-cpp-precomp' instead of '-traditional-cpp' (so it works on 10.3)

Fix inline:

Index: Portfile ============================================================ ======= RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/databases/postgresql/Portfile,v retrieving revision 1.25 diff -u -d -b -w -r1.25 Portfile --- Portfile 5 Aug 2003 09:28:59 -0000 1.25 +++ Portfile 22 Oct 2003 18:44:27 -0000 @@ -31,7 +31,7 @@

variant darwin {

patchfiles patch-Makefile patch-Makefile.darwin \

patch-Makefile.shlib patch-proc.mk \

  • patch-plpgsql-Makefile

+ patch-plpgsql-Makefile patch-template-darwin

post-patch { reinplace "s|PREFIX|${prefix}|g" \

"${workpath}/${worksrcdir}/src/Makefile.shlib"

}

And the new patch file:

--- src/template/darwin.orig Sat May 4 20:03:29 2002 +++ src/template/darwin Wed Oct 22 14:15:12 2003 @@ -1,6 +1,6 @@

# -traditional-cpp means "don't use apple's cpp-precomp" on darwin # this should change to -no-cpp-precomp when that flag is implemented

-CC="$CC -traditional-cpp" +CC="$CC -no-cpp-precomp"

# Select appropriate semaphore support USE_NAMED_POSIX_SEMAPHORES=1

Change History (0)

Note: See TracTickets for help on using tickets.