diff options
author | jperkin <jperkin> | 2015-06-21 14:58:06 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-06-21 14:58:06 +0000 |
commit | c58f555822805fffc1f6aafee0b86568d5a45754 (patch) | |
tree | b982d410d7f8082c906bed849e2480c7a1b25419 /lang/ruby21-base | |
parent | 110b870bc78adbc68e97175d795e10a3213ca7fc (diff) | |
download | pkgsrc-c58f555822805fffc1f6aafee0b86568d5a45754.tar.gz |
On EL6 systems the 'systemtap-sdt-devel' RPM installs a /usr/bin/dtrace
which is emphatically not DTrace, causing nothing but problems for
builds. Explicitly disable DTrace support if /usr/bin/dtrace is found.
Diffstat (limited to 'lang/ruby21-base')
-rw-r--r-- | lang/ruby21-base/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/ruby21-base/Makefile b/lang/ruby21-base/Makefile index c6dad9e1deb..bf917d1cb64 100644 --- a/lang/ruby21-base/Makefile +++ b/lang/ruby21-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2015/04/30 03:27:20 taca Exp $ +# $NetBSD: Makefile,v 1.13 2015/06/21 15:10:17 jperkin Exp $ # DISTNAME= ${RUBY_DISTNAME} @@ -32,6 +32,11 @@ CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}" \ .include "../../mk/compiler.mk" +# /usr/bin/dtrace is not DTrace. +.if ${OPSYS} == "Linux" && exists(/usr/bin/dtrace) +CONFIGURE_ARGS+= --disable-dtrace +.endif + .if !empty(PKGSRC_COMPILER:Msunpro) LIBS.SunOS+= -B static -lsunmath -B dynamic -lm LDFLAGS.SunOS+= -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib |