New Makefile for NetBSD #1029

pull khorben wants to merge 2 commits into bitcoin:master from khorben:master changing 1 files +151 −0
  1. khorben commented at 7:06 PM on April 3, 2012: contributor

    Even though I am still having trouble getting bitcoin to work on NetBSD, I have been able to build it thanks to this additional Makefile (therefore called "makefile.netbsd").

    I believe it has enough differences to "makefile.unix" to justify a duplicate (no libdl, packages in /usr/pkg by default, libdb_cxx is called libdb4_cxx...) but let me know if you'd prefer to adapt "makefile.unix" with conditional building instead.

    Cheers, -- khorben

  2. This Makefile lets bitcoind compile on NetBSD, once:
    - the partial fix to standard/44777 is applied (for AI_ADDRCONFIG)
    - devel/gmake and devel/boost-libs are installed
    - compiling with BOOST_INCLUDE_PATH=/usr/pkg/include, BDB_INCLUDE_PATH=/usr/pkg/include/db4, BDB_LIB_SUFFIX=4, LDFLAGS="-L /usr/pkg/lib -Wl,-rpath,/usr/pkg/lib"
    93e5e48391
  3. No longer need any explicit arguments to gmake by default (pkgsrc) 0ddde1529e
  4. laanwj commented at 7:37 PM on April 3, 2012: member

    I prefer conditional building in a single makefile for unix. Otherwise, the makefiles will eternally be out of sync when, for example, new source files are added.

  5. khorben commented at 7:40 PM on April 3, 2012: contributor

    On 03/04/2012 21:37, Wladimir J. van der Laan wrote:

    I prefer conditional building in a single makefile for unix. Otherwise, the makefiles will eternally be out of sync when, for example, new source files are added.

    Makes sense, I'll try to modify "makefile.unix" instead then.

    khorben

  6. khorben closed this on Apr 3, 2012

  7. suprnurd referenced this in commit fcb985a93f on Dec 5, 2017
  8. ptschip referenced this in commit 31d00b670d on Apr 15, 2018
  9. lateminer referenced this in commit 0df20ddbab on Oct 30, 2019
  10. lateminer referenced this in commit ed83481494 on Oct 30, 2019
  11. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me