pkgsrc/lang/nodejs/options.mk
fhajny fce4745f48 Update lang/nodejs to 5.8.0. Clean stale bits from options.mk.
Changes since 5.7.1:
- child_process: send() now accepts an options parameter
- constants: ENGINE_METHOD_RSA is now correctly exposed
- Fixed two regressions which originated in v5.7.0:
  - http: Errors inside of http client callbacks now propagate
    correctly
  - path: Fixed normalization of absolute paths
- repl: start() no longer requires an options parameter
- util: Improved format() performance 50-300%
2016-03-09 20:13:23 +00:00

34 lines
808 B
Makefile

# $NetBSD: options.mk,v 1.7 2016/03/09 20:13:23 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.node
PKG_SUPPORTED_OPTIONS= openssl dtrace icu
PKG_SUGGESTED_OPTIONS= openssl
.if (${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") \
&& exists(/usr/sbin/dtrace)
PKG_SUGGESTED_OPTIONS+= dtrace
.endif
.include "../../mk/bsd.options.mk"
PLIST_VARS+= dtrace
.if !empty(PKG_OPTIONS:Mdtrace)
CONFIGURE_ARGS+= --with-dtrace
PLIST.dtrace= yes
.else
CONFIGURE_ARGS+= --without-dtrace
.endif
.if !empty(PKG_OPTIONS:Micu)
CONFIGURE_ARGS+= --with-intl=system-icu
.include "../../textproc/icu/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.2
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --shared-openssl
.else
CONFIGURE_ARGS+= --without-ssl
.endif