Edit

IABSD.fr/ports/databases/ruby-swift-db-postgres/patches

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2013-06-21 22:37:02
    Hash : 2ee2f7ec
    Message : sync WANTLIB and remove patches to handle e2fsprogs/libuuid changes. ok aja

  • patch-ext_swift_db_postgres_extconf_rb
  • $OpenBSD: patch-ext_swift_db_postgres_extconf_rb,v 1.2 2013/06/21 22:37:02 sthen Exp $
    --- ext/swift/db/postgres/extconf.rb.orig	Wed Dec 31 16:00:00 1969
    +++ ext/swift/db/postgres/extconf.rb	Tue Dec  4 11:04:38 2012
    @@ -5,21 +5,13 @@ require 'mkmf'
     $CFLAGS = '-std=c99 -Os'
     
     inc_paths = %w(
    -  /usr/include/postgresql
    -  /usr/local/include/postgresql
    -  /opt/local/include
    -  /opt/local/include/postgresql90
    -  /opt/local/include/postgresql85
    -  /opt/local/include/postgresql84
    -  /sw/include
    +  ${LOCALBASE}/include
    +  ${LOCALBASE}/include/postgresql
     )
     
     lib_paths = %w(
       /usr/lib
    -  /usr/local/lib
    -  /opt/lib
    -  /opt/local/lib
    -  /sw/lib
    +  ${LOCALBASE}/lib
     )
     
     uuid_inc,  uuid_lib  = dir_config('uuid',  '/usr/include/uuid', '/usr/lib')