From 39aae52e063ed023435320f21c58a1c16d866d1f Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Feb 2016 14:42:55 +0000 Subject: Use OPSYSVARS. --- lang/ruby23-base/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lang/ruby23-base') diff --git a/lang/ruby23-base/Makefile b/lang/ruby23-base/Makefile index 9de22a7929b..ce6761c8f84 100644 --- a/lang/ruby23-base/Makefile +++ b/lang/ruby23-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2015/12/30 14:59:42 taca Exp $ +# $NetBSD: Makefile,v 1.2 2016/02/25 14:42:57 jperkin Exp $ # DISTNAME= ${RUBY_DISTNAME} @@ -44,14 +44,10 @@ CONFIGURE_ENV+= LDSHARED="${CC} -G" LIBS.SunOS+= -lm .endif -.if ${OPSYS} == "SunOS" -CONFIGURE_ENV+= OBJCOPY=: -.endif +CONFIGURE_ENV.SunOS+= OBJCOPY=: -.if ${OPSYS} == "MirBSD" # if present, an unsupported sysconf call is used -CONFIGURE_ENV+= ac_cv_func_getgrnam_r=no -.endif +CONFIGURE_ENV.MirBSD+= ac_cv_func_getgrnam_r=no # bmake doesn't like the codesign/POSTLINK constructs for Darwin. .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" -- cgit v1.2.3