Changes between Initial Version and Version 1 of Ticket #56620, comment 13


Ignore:
Timestamp:
Jun 8, 2018, 3:34:00 AM (6 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56620, comment 13

    initial v1  
    1 This small patch to macports-base appears to make `src/cregistry/Makefile` respond to the `--with-sqlite3prefix` configure argument:
    2 {{{
    3 --- src/cregistry/Makefile.in.orig      2018-06-07 13:05:14.000000000 -0700
    4 +++ src/cregistry/Makefile.in   2018-06-07 13:23:15.000000000 -0700
    5 @@ -13,6 +13,8 @@
    6  
    7  # required for strdup(3) on Linux and OS X
    8  CPPFLAGS+=-D_XOPEN_SOURCE=600
    9 +CPPFLAGS+=${SQLITE3_CFLAGS}
    10 +LDFLAGS+=${SQLITE3_LIBS}
    11  
    12  all:: ${STLIB_NAME} ${SQLEXT_NAME}
    13 }}}
    14 and with that the build proceeds apace.
     1A fix for the missing sqlite3 flags for the `cregistry` part of the MacPorts base build is suggested here:
    152
    16 The folder it is referencing `/opt/bootstrap/include` does have a number of different headers in it, and it's not a pure header collection for `sqlite3`... but no issues noted so far with that.
     3<https://github.com/macports/macports-base/pull/95>
     4
     5This allows `--with-sqlite3prefix` to work properly to install MacPorts with a non-standard sqlite3 directory.