Changeset View
Changeset View
Standalone View
Standalone View
head/www/node/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= node | PORTNAME= node | ||||
PORTVERSION= 8.1.2 | PORTVERSION= 8.1.3 | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
CATEGORIES= www | CATEGORIES= www | ||||
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ | MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ | ||||
MAINTAINER= bhughes@FreeBSD.org | MAINTAINER= bhughes@FreeBSD.org | ||||
COMMENT= V8 JavaScript for client and server | COMMENT= V8 JavaScript for client and server | ||||
LICENSE= MIT | LICENSE= MIT | ||||
▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40 | .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40 | ||||
# Conditinal work around for a bug in libc++ included with clang 3.x: | # Conditinal work around for a bug in libc++ included with clang 3.x: | ||||
# https://bugs.llvm.org/show_bug.cgi?id=18249 | # https://bugs.llvm.org/show_bug.cgi?id=18249 | ||||
# https://bugs.llvm.org/show_bug.cgi?id=18350 | # https://bugs.llvm.org/show_bug.cgi?id=18350 | ||||
# https://bugs.llvm.org/show_bug.cgi?id=18853 | # https://bugs.llvm.org/show_bug.cgi?id=18853 | ||||
# | # | ||||
# Upstream Node.js adds the define to all FreeBSD builds. This breaks | # Upstream Node.js adds the define to all FreeBSD builds. This breaks | ||||
# the build with clang 4.0, so we patch it out (files/patch-common.gypi) | # the build with clang 4.0, so we patch it out (files/patch-common.gypi) | ||||
# and add it here instead. | # and add it here instead. | ||||
CXXFLAGS+= -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR | CXXFLAGS+= -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MDTRACE} | .if ${PORT_OPTIONS:MDTRACE} | ||||
CONFIGURE_ARGS+= --with-dtrace | CONFIGURE_ARGS+= --with-dtrace | ||||
.endif | .endif | ||||
Show All 26 Lines |