Changeset 92935


Ignore:
Timestamp:
May 11, 2012, 12:37:03 PM (8 years ago)
Author:
vince@…
Message:

This update closes ticket #33907. It strips any -arch flag from pgxs/Makefile.global and changes CFLAGS = and LDFLAGS = into CFLAGS += and LDFLAGS +=. Bump revision accordingly, since it affects the way PostGIS will be built.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/postgresql91/Portfile

    r91854 r92935  
    77name                    postgresql91
    88version                 9.1.3
    9 revision                1
     9revision        2
    1010
    1111categories              databases
     
    1313maintainers             mww jwa
    1414license                 Permissive
    15 description             The most advanced open-source database available anywhere. ALPHA release!
     15description             The most advanced open-source database available anywhere.
    1616long_description PostgreSQL is Object-Relational Database Management System. \
    1717                                It supports almost all SQL constructs, including transactions, \
     
    104104        file delete -force ${destroot}${prefix}/share/doc/postgresql \
    105105                ${destroot}${prefix}/share/man
     106               
     107        reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
     108            ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
     109       
     110        reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
     111            ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
     112           
     113        reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
     114            ${destroot}${prefix}/lib/postgresql91/pgxs/src/Makefile.global
    106115}
    107116
Note: See TracChangeset for help on using the changeset viewer.