summaryrefslogtreecommitdiff
path: root/lang/perl5
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/perl5
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/perl5')
-rw-r--r--lang/perl5/hacks.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/perl5/hacks.mk b/lang/perl5/hacks.mk
index 598af120bb6..08cd9eda417 100644
--- a/lang/perl5/hacks.mk
+++ b/lang/perl5/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.13 2014/06/04 09:19:56 obache Exp $
+# $NetBSD: hacks.mk,v 1.14 2014/12/15 11:46:35 jperkin Exp $
.if !defined(PERL5_HACKS_MK)
PERL5_HACKS_MK= defined
@@ -61,7 +61,7 @@ CFLAGS+= -fno-cse-skip-blocks
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "m68k"
PKG_HACKS+= m68k-codegen
-BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os
+BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-Os
.endif
### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
@@ -71,7 +71,7 @@ BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os
&& !empty(CC_VERSION:Mgcc-4.*.*)
# XXX: is there any good way to replace the default -O2 with multiple args?
PKG_HACKS+= alpha-optimisation
-#BUILDLINK_TRANSFORM+= rename:-O[2-9]*:-O2 -fno-tree-ter
+#BUILDLINK_TRANSFORM+= opt:-O[2-9]*:-O2 -fno-tree-ter
CFLAGS+=-fno-tree-ter
.endif