summaryrefslogtreecommitdiff
path: root/lang/ruby23-base
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
commit39aae52e063ed023435320f21c58a1c16d866d1f (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/ruby23-base
parent113ff2274f575cf33db39900e0a169183f6f9c2d (diff)
downloadpkgsrc-39aae52e063ed023435320f21c58a1c16d866d1f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'lang/ruby23-base')
-rw-r--r--lang/ruby23-base/Makefile10
1 files changed, 3 insertions, 7 deletions
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"