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 /editors | |
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 'editors')
-rw-r--r-- | editors/emacs22/hacks.mk | 4 | ||||
-rw-r--r-- | editors/xemacs/hacks.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/emacs22/hacks.mk b/editors/emacs22/hacks.mk index ec0362290f1..c63cfdf9e30 100644 --- a/editors/emacs22/hacks.mk +++ b/editors/emacs22/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.6 2011/07/21 01:37:19 tron Exp $ +# $NetBSD: hacks.mk,v 1.7 2014/12/15 11:46:34 jperkin Exp $ .if !defined(EMACS_HACKS_MK) EMACS_HACKS_MK= defined @@ -12,7 +12,7 @@ EMACS_HACKS_MK= defined . if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) . if !empty(CC_VERSION:Mgcc-4.5.*) PKG_HACKS+= optimisation -BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O0 +BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-O0 . endif . endif diff --git a/editors/xemacs/hacks.mk b/editors/xemacs/hacks.mk index 8c0a6fa456c..0d10d6678af 100644 --- a/editors/xemacs/hacks.mk +++ b/editors/xemacs/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2013/04/08 11:17:12 rodent Exp $ +# $NetBSD: hacks.mk,v 1.3 2014/12/15 11:46:34 jperkin Exp $ .if !defined(XEMACS_HACKS_MK) XEMACS_HACKS_MK= defined @@ -12,7 +12,7 @@ XEMACS_HACKS_MK= defined ### .if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) PKG_HACKS+= powerpc-codegen -BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os +BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-Os .endif .endif # XEMACS_HACKS_MK |