summaryrefslogtreecommitdiff
path: root/lang/ruby23-base
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 14:42:55 +0000
committerjperkin <jperkin>2016-02-25 14:42:55 +0000
commite631dd19cabee17463e08b470eae76a8cf63df05 (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/ruby23-base
parentbccbbec8e7871e18da507540e2ffe289a27d8fc1 (diff)
downloadpkgsrc-e631dd19cabee17463e08b470eae76a8cf63df05.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"