Skip to content
Permalink
Browse files

nodejs11: rollback to version 11.4.0

This reverts commit 3ad5aa7.
  • Loading branch information
ci42 committed Apr 28, 2019
1 parent 3ad5aa7 commit ccbe1e9dbae14592eaabf328e9be75a94fdaa4ad
Showing with 8 additions and 5 deletions.
  1. +7 −4 devel/nodejs11/Portfile
  2. +1 −1 devel/nodejs11/files/patch-common.gypi.diff
@@ -4,7 +4,8 @@ PortSystem 1.0
PortGroup cxx11 1.1

name nodejs11
version 12.0.0
version 11.14.0
revision 1
categories devel net
platforms darwin
license {MIT BSD}
@@ -23,9 +24,9 @@ homepage http://nodejs.org/
master_sites ${homepage}dist/v${version}
use_xz yes

checksums rmd160 dbd45ca85f2c19f8bc200aadf8ed8743b1134cde \
sha256 93c48550e5da71cf3809ba765e8f8c01124a6b5f8b69869fe3ea8f168fcbfc78 \
size 22387124
checksums rmd160 3171f9d08a15ec96d28db5b216e340a3711c1400 \
sha256 9df61d885765fd56148807092d019f07ad593c85faab2c7caaad21b8e9f66de7 \
size 22106812

distname node-v${version}

@@ -49,13 +50,15 @@ patchfiles patch-common.gypi.diff
post-patch {
foreach f [concat ${worksrcpath}/configure \
${worksrcpath}/tools/gyp/gyp \
${worksrcpath}/deps/v8/gypfiles/gyp_v8 \
${worksrcpath}/deps/v8/tools/objdump-v8 \
[rec_glob ${worksrcpath} *.py]] {
reinplace -q "s|/usr/bin/env python|${configure.python}|" ${f}
}
foreach gypfile [rec_glob ${worksrcpath} *.gyp*] {
reinplace -q "s|'python'|'${configure.python}'|" ${gypfile}
}
reinplace "s|python|${configure.python}|" ${worksrcpath}/deps/v8/gypfiles/toolchain.gypi
}

configure.args-append --without-npm
@@ -4,7 +4,7 @@
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
'PREBINDING': 'NO', # No -Wl,-prebind
- 'MACOSX_DEPLOYMENT_TARGET': '10.10', # -mmacosx-version-min=10.10
- 'MACOSX_DEPLOYMENT_TARGET': '10.7', # -mmacosx-version-min=10.7
'USE_HEADERMAP': 'NO',
'OTHER_CFLAGS': [
'-fno-strict-aliasing',

1 comment on commit ccbe1e9

@cjones051073

This comment has been minimized.

Copy link
Contributor

@cjones051073 cjones051073 commented on ccbe1e9 Apr 29, 2019

When downgrading a port version, you must bump the port epoch, in order for it to be considered an 'update'.

https://guide.macports.org/chunked/reference.html

Please sign in to comment.
You can’t perform that action at this time.