New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80805


Ignore:
Timestamp:
07/17/11 15:20:08 (4 years ago)
Author:
blb@…
Message:

devel/quickfix - install SQL files for DB usage; add postgresql 9.0 support

Location:
trunk/dports/devel/quickfix
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/quickfix/Portfile

    r80620 r80805  
    44name                quickfix 
    55version             1.13.3 
     6revision            1 
    67license             Permissive 
    78# http://www.quickfixengine.org/quickfix/doc/html/license.html 
     
    3233configure.env       "JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home" 
    3334 
     35post-destroot { 
     36   xinstall -m 755 -d ${destroot}${prefix}/share/${name}/sql 
     37   copy ${worksrcpath}/src/sql/postgresql ${destroot}${prefix}/share/${name}/sql 
     38} 
     39 
    3440variant python description {Include python support} { 
    3541   depends_lib-append      port:python26 
     
    3844} 
    3945 
    40 variant postgresql84 description {Include PostGreSQL 8.4 support} { 
     46variant postgresql84 conflicts postgresql90 description {Include PostGreSQL 8.4 support} { 
    4147   depends_lib-append      port:postgresql84 
    4248   configure.args-append   --with-postgresql=${prefix} 
    4349   patchfiles-append       patch-postgresql84.diff 
     50} 
     51 
     52variant postgresql90 conflicts postgresql84 description {Include PostGreSQL 9.0 support} { 
     53   depends_lib-append      port:postgresql90 
     54   configure.args-append   --with-postgresql=${prefix} 
     55   patchfiles-append       patch-postgresql90.diff 
    4456} 
    4557 
  • trunk/dports/devel/quickfix/files/patch-postgresql90.diff

    r80762 r80805  
    66 then 
    77-    POSTGRESQL_CFLAGS="-I${POSTGRESQL_PREFIX}/include -I${POSTGRESQL_PREFIX}/include/postgresql" 
    8 +    POSTGRESQL_CFLAGS="-I${POSTGRESQL_PREFIX}/include -I${POSTGRESQL_PREFIX}/include/postgresql84" 
     8+    POSTGRESQL_CFLAGS="-I${POSTGRESQL_PREFIX}/include -I${POSTGRESQL_PREFIX}/include/postgresql90" 
    99  
    1010-    POSTGRESQL_LIBS="-L${POSTGRESQL_PREFIX}/lib -lpq" 
    11 +    POSTGRESQL_LIBS="-L${POSTGRESQL_PREFIX}/lib/postgresql84 -lpq" 
     11+    POSTGRESQL_LIBS="-L${POSTGRESQL_PREFIX}/lib/postgresql90 -lpq" 
    1212  
    1313  
Note: See TracChangeset for help on using the changeset viewer.