diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-12-15 11:46:34 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-12-15 11:46:34 +0000 |
commit | 277db77dd8a596c47f10803983f41fba6d797769 (patch) | |
tree | cd9f54b486313d027f300d2b12ddcf5743a445ff /graphics/png | |
parent | ed18cb80675d5397338cc7af9a5cd752ff152d15 (diff) | |
download | pkgsrc-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 'graphics/png')
-rw-r--r-- | graphics/png/hacks.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/png/hacks.mk b/graphics/png/hacks.mk index 64c45d414e2..81486c5ab64 100644 --- a/graphics/png/hacks.mk +++ b/graphics/png/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.3 2013/06/23 05:20:33 tsutsui Exp $ +# $NetBSD: hacks.mk,v 1.4 2014/12/15 11:46:35 jperkin Exp $ .if !defined(PNG_HACKS_MK) PNG_HACKS_MK= defined @@ -11,7 +11,7 @@ PNG_HACKS_MK= defined .if !empty(MACHINE_PLATFORM:MNetBSD-*-arm) && !empty(CC_VERSION:Mgcc-4.5.*) # XXX: is there any good way to replace the default -O2 with multiple args? #PKG_HACKS+= optimisation -#BUILDLINK_TRANSFORM+= rename:-O[2-9]*:-O2 -fno-ipa-sra +#BUILDLINK_TRANSFORM+= opt:-O[2-9]*:-O2 -fno-ipa-sra CFLAGS+=-O2 -fno-ipa-sra .endif |