summaryrefslogtreecommitdiff
path: root/lang/ruby200-base
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-12-15 11:46:34 +0000
committerjperkin <jperkin@pkgsrc.org>2014-12-15 11:46:34 +0000
commit277db77dd8a596c47f10803983f41fba6d797769 (patch)
treecd9f54b486313d027f300d2b12ddcf5743a445ff /lang/ruby200-base
parented18cb80675d5397338cc7af9a5cd752ff152d15 (diff)
downloadpkgsrc-277db77dd8a596c47f10803983f41fba6d797769.tar.gz
The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers. Change them all to "opt" rules for consistency and to gain compatibility with cwrappers.
Diffstat (limited to 'lang/ruby200-base')
-rw-r--r--lang/ruby200-base/hacks.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ruby200-base/hacks.mk b/lang/ruby200-base/hacks.mk
index 9e493eed48b..0944c416aed 100644
--- a/lang/ruby200-base/hacks.mk
+++ b/lang/ruby200-base/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2013/07/21 02:32:58 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:35 jperkin Exp $
.if !defined(RUBY200_BASE_HACKS_MK)
RUBY200_BASE_HACKS_MK= defined
@@ -21,7 +21,7 @@ BUILDLINK_TRANSFORM+= rm:-O[0-9]*
### Using -O1 works around.
. if !empty(CC_VERSION:Mgcc-4.5.*)
PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= rename:-O2:-O1
+BUILDLINK_TRANSFORM+= opt:-O2:-O1
. endif
.endif
@@ -31,7 +31,7 @@ BUILDLINK_TRANSFORM+= rename:-O2:-O1
# and -O1 works around.
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-4.5.*)
PKG_HACKS+= optimisation
-BUILDLINK_TRANSFORM+= rename:-Os:-O1 rm:-freorder-blocks
+BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
.endif
.endif # RUBY200_BASE_HACKS_MK