Skip to content

Commit

Permalink
nodejs18: Make python a build dependency
Browse files Browse the repository at this point in the history
* Make python a build dependency instead of a library dependency

Closes: https://trac.macports.org/ticket/63842
  • Loading branch information
Robotex authored and reneeotten committed Nov 25, 2022
1 parent 34b8d4a commit a14ec99
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions devel/nodejs18/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ compiler.cxx_standard 2014

name nodejs18
version 18.12.1
revision 1
revision 2

categories devel net
platforms darwin
Expand All @@ -38,13 +38,12 @@ checksums rmd160 d181bc43ee46111082bcabea28fb39476e8f05b3 \

distname node-v${version}

depends_build-append port:pkgconfig

set py_ver 3.10
set py_ver_nodot [string map {. {}} ${py_ver}]

depends_build-append port:pkgconfig \
port:python${py_ver_nodot}
depends_lib-append path:lib/pkgconfig/icu-uc.pc:icu \
port:python${py_ver_nodot} \
port:zlib

# error: 'atomic_load<v8::internal::OwnedVector<const unsigned char> >' is unavailable: introduced in macOS 10.9
Expand Down

0 comments on commit a14ec99

Please sign in to comment.