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 /devel | |
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 'devel')
-rw-r--r-- | devel/bison/hacks.mk | 4 | ||||
-rw-r--r-- | devel/boost-libs/hacks.mk | 4 | ||||
-rw-r--r-- | devel/ncurses/Makefile.common | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/devel/bison/hacks.mk b/devel/bison/hacks.mk index 7039abd6f24..886b181681e 100644 --- a/devel/bison/hacks.mk +++ b/devel/bison/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.5 2013/11/09 05:32:46 ryoon Exp $ +# $NetBSD: hacks.mk,v 1.6 2014/12/15 11:46:34 jperkin Exp $ .if !defined(BISON_HACKS_MK) BISON_HACKS_MK= defined @@ -19,7 +19,7 @@ BUILDLINK_TRANSFORM+= rm:-O[0-9]* ### -O seems enough for workaround in this case. .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-4.5.*) PKG_HACKS+= optimisation -BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O +BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-O .endif .endif # BISON_HACKS_MK diff --git a/devel/boost-libs/hacks.mk b/devel/boost-libs/hacks.mk index fc3c8eff0fc..c3de68ef119 100644 --- a/devel/boost-libs/hacks.mk +++ b/devel/boost-libs/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.4 2014/11/07 19:28:38 adam Exp $ +# $NetBSD: hacks.mk,v 1.5 2014/12/15 11:46:34 jperkin Exp $ .if !defined(BOOST_LIBS_HACKS_MK) BOOST_LIBS_HACKS_MK= defined @@ -8,7 +8,7 @@ BOOST_LIBS_HACKS_MK= defined # gcc 4 on sparc64 catches an illegal instruction when compiling graphml.cpp .if ${MACHINE_ARCH} == "sparc64" && !empty(CC_VERSION:Mgcc-4*) PKG_HACKS+= optimisation -BUILDLINK_TRANSFORM+= rename:-O3:-O1 +BUILDLINK_TRANSFORM+= opt:-O3:-O1 .endif .endif # BOOST_LIBS_HACKS_MK diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index 3768843a0cc..321d80def14 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.25 2014/10/09 14:06:10 wiz Exp $ +# $NetBSD: Makefile.common,v 1.26 2014/12/15 11:46:34 jperkin Exp $ # # used by devel/ncurses/Makefile # used by devel/ncursesw/Makefile @@ -66,7 +66,7 @@ USE_LANGUAGES+= c99 .include "../../mk/compiler.mk" . if !empty(CC_VERSION:Mgcc-4.*) #This may yet need to be adapted for systems prior to Solaris 10 -BUILDLINK_TRANSFORM+= rename:-D_XOPEN_SOURCE=500:-D_POSIX_C_SOURCE=200112L +BUILDLINK_TRANSFORM+= opt:-D_XOPEN_SOURCE=500:-D_POSIX_C_SOURCE=200112L BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED . endif TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src |