aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-22 02:53:16 +0800
committermarino <marino@FreeBSD.org>2014-02-22 02:53:16 +0800
commit033334f99e9432a031edeeec5ecce57e05872dbf (patch)
treebb8727d2bff815faaeee04d0c9c95e1da756d73c /Mk/bsd.ruby.mk
parent8deb034a373b8c52c8d85058149471e5aa2a61e0 (diff)
downloadfreebsd-ports-gnome-033334f99e9432a031edeeec5ecce57e05872dbf.tar.gz
freebsd-ports-gnome-033334f99e9432a031edeeec5ecce57e05872dbf.tar.zst
freebsd-ports-gnome-033334f99e9432a031edeeec5ecce57e05872dbf.zip
Mk/bsd.(ruby,efl).mk: Replace "freebsd" with OPSYS:L
This change is no-op for FreeBSD but is needed for DragonFly support. It has been run in dports for a year. Also unneeded trailing slashes were removed from bsd.efl.mk (also tested for a year). Approved by: portmgr (bapt)
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 405f4c36fe44..95c748dd9c06 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -243,9 +243,9 @@ RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
--docdir="${RUBY_DOCDIR}" \
--with-soname=ruby${RUBY_SUFFIX}
-CONFIGURE_TARGET?= ${ARCH}-portbld-freebsd${OSREL:C/\..*//}
+CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:L}${OSREL:C/\..*//}
-RUBY_ARCH?= ${ARCH}-freebsd${OSREL:C/\..*//}
+RUBY_ARCH?= ${ARCH}-${OPSYS:L}${OSREL:C/\..*//}
RUBY_NAME?= ruby${RUBY_SUFFIX}
_RUBY_SYSLIBDIR?= ${PREFIX}/lib