Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#1064 closed update (fixed)

Update: Postgres port build fix

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

comment:1 Changed 21 years ago by mww@…

Owner: changed from eric@… to mww@…

comment:2 Changed 21 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks! commited;

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: postgresql added
Type: defectupdate
Note: See TracTickets for help on using tickets.