pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc The "rename" rule is a published synonym for the "opt"...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02c23d21ee1a
branches:  trunk
changeset: 643377:02c23d21ee1a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 15 11:46:34 2014 +0000

description:
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:

 devel/bison/hacks.mk            |  4 ++--
 devel/boost-libs/hacks.mk       |  4 ++--
 devel/ncurses/Makefile.common   |  4 ++--
 editors/emacs22/hacks.mk        |  4 ++--
 editors/xemacs/hacks.mk         |  4 ++--
 graphics/png/hacks.mk           |  4 ++--
 lang/ocaml/hacks.mk             |  4 ++--
 lang/perl5/hacks.mk             |  6 +++---
 lang/ruby193-base/hacks.mk      |  6 +++---
 lang/ruby200-base/hacks.mk      |  6 +++---
 lang/ruby21-base/hacks.mk       |  6 +++---
 mail/imap-uw/hacks.mk           |  4 ++--
 mail/prayer/Makefile            |  4 ++--
 meta-pkgs/boost/Makefile.common |  4 ++--
 misc/libreoffice4/Makefile      |  4 ++--
 misc/tmux/Makefile              |  4 ++--
 news/knews/hacks.mk             |  4 ++--
 print/luatex/Makefile           |  4 ++--
 sysutils/file/Makefile          |  4 ++--
 textproc/libxslt/Makefile       |  4 ++--
 www/mMosaic/Makefile            |  4 ++--
 x11/pixman/builtin.mk           |  4 ++--
 x11/qt4-libs/hacks.mk           |  4 ++--
 23 files changed, 50 insertions(+), 50 deletions(-)

diffs (truncated from 444 to 300 lines):

diff -r 22dfe30ee901 -r 02c23d21ee1a devel/bison/hacks.mk
--- a/devel/bison/hacks.mk      Mon Dec 15 11:38:51 2014 +0000
+++ b/devel/bison/hacks.mk      Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 ### -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 -r 22dfe30ee901 -r 02c23d21ee1a devel/boost-libs/hacks.mk
--- a/devel/boost-libs/hacks.mk Mon Dec 15 11:38:51 2014 +0000
+++ b/devel/boost-libs/hacks.mk Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 # 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 -r 22dfe30ee901 -r 02c23d21ee1a devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common     Mon Dec 15 11:38:51 2014 +0000
+++ b/devel/ncurses/Makefile.common     Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 .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
diff -r 22dfe30ee901 -r 02c23d21ee1a editors/emacs22/hacks.mk
--- a/editors/emacs22/hacks.mk  Mon Dec 15 11:38:51 2014 +0000
+++ b/editors/emacs22/hacks.mk  Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 .  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 -r 22dfe30ee901 -r 02c23d21ee1a editors/xemacs/hacks.mk
--- a/editors/xemacs/hacks.mk   Mon Dec 15 11:38:51 2014 +0000
+++ b/editors/xemacs/hacks.mk   Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 ###
 .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
diff -r 22dfe30ee901 -r 02c23d21ee1a graphics/png/hacks.mk
--- a/graphics/png/hacks.mk     Mon Dec 15 11:38:51 2014 +0000
+++ b/graphics/png/hacks.mk     Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 .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
 
diff -r 22dfe30ee901 -r 02c23d21ee1a lang/ocaml/hacks.mk
--- a/lang/ocaml/hacks.mk       Mon Dec 15 11:38:51 2014 +0000
+++ b/lang/ocaml/hacks.mk       Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.5 2014/11/25 11:09:51 obache Exp $
+# $NetBSD: hacks.mk,v 1.6 2014/12/15 11:46:35 jperkin Exp $
 
 .if !defined(OCAML_HACKS_MK)
 OCAML_HACKS_MK=        defined
@@ -31,7 +31,7 @@
 #.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
 #.  if !empty(CC_VERSION:Mgcc-4.4.*)
 #PKG_HACKS+=           optimisation
-#BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O
+#BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-O
 #.  endif
 #.endif
 
diff -r 22dfe30ee901 -r 02c23d21ee1a lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk       Mon Dec 15 11:38:51 2014 +0000
+++ b/lang/perl5/hacks.mk       Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 
 .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 @@
        && !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
 
diff -r 22dfe30ee901 -r 02c23d21ee1a lang/ruby193-base/hacks.mk
--- a/lang/ruby193-base/hacks.mk        Mon Dec 15 11:38:51 2014 +0000
+++ b/lang/ruby193-base/hacks.mk        Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.5 2013/02/12 12:47:18 taca Exp $
+# $NetBSD: hacks.mk,v 1.6 2014/12/15 11:46:35 jperkin Exp $
 
 .if !defined(RUBY193_BASE_HACKS_MK)
 RUBY193_BASE_HACKS_MK= defined
@@ -21,7 +21,7 @@
 ### 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 @@
 # 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 # RUBY193_BASE_HACKS_MK
diff -r 22dfe30ee901 -r 02c23d21ee1a lang/ruby200-base/hacks.mk
--- a/lang/ruby200-base/hacks.mk        Mon Dec 15 11:38:51 2014 +0000
+++ b/lang/ruby200-base/hacks.mk        Mon Dec 15 11:46:34 2014 +0000
@@ -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 @@
 ### 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 @@
 # 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
diff -r 22dfe30ee901 -r 02c23d21ee1a lang/ruby21-base/hacks.mk
--- a/lang/ruby21-base/hacks.mk Mon Dec 15 11:38:51 2014 +0000
+++ b/lang/ruby21-base/hacks.mk Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2014/03/14 19:40:47 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:35 jperkin Exp $
 
 .if !defined(RUBY21_BASE_HACKS_MK)
 RUBY21_BASE_HACKS_MK=  defined
@@ -21,7 +21,7 @@
 ### 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 @@
 # 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 # RUBY21_BASE_HACKS_MK
diff -r 22dfe30ee901 -r 02c23d21ee1a mail/imap-uw/hacks.mk
--- a/mail/imap-uw/hacks.mk     Mon Dec 15 11:38:51 2014 +0000
+++ b/mail/imap-uw/hacks.mk     Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2006/07/26 20:00:27 jlam Exp $
+# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:35 jperkin Exp $
 
 .include "../../mk/compiler.mk"
 
@@ -9,5 +9,5 @@
 ###
 .if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-*-alpha)
 PKG_HACKS+=            alpha-codegen
-BUILDLINK_TRANSFORM+=  rename:-O[0-9]*:-O
+BUILDLINK_TRANSFORM+=  opt:-O[0-9]*:-O
 .endif
diff -r 22dfe30ee901 -r 02c23d21ee1a mail/prayer/Makefile
--- a/mail/prayer/Makefile      Mon Dec 15 11:38:51 2014 +0000
+++ b/mail/prayer/Makefile      Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2014/05/29 23:36:51 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2014/12/15 11:46:35 jperkin Exp $
 
 DISTNAME=      prayer-1.3.4
 PKGREVISION=   8
@@ -57,7 +57,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
-BUILDLINK_TRANSFORM+=  rename:-lutil:"-lsocket -lnsl"
+BUILDLINK_TRANSFORM+=  opt:-lutil:"-lsocket -lnsl"
 BUILDLINK_TRANSFORM+=  rm:-lcom_err # XXX: handle pkgsrc krb
 .endif
 
diff -r 22dfe30ee901 -r 02c23d21ee1a meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Mon Dec 15 11:38:51 2014 +0000
+++ b/meta-pkgs/boost/Makefile.common   Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.48 2014/12/08 03:50:02 rodent Exp $
+# $NetBSD: Makefile.common,v 1.49 2014/12/15 11:46:35 jperkin Exp $
 #
 # used by devel/boost-build/Makefile
 # used by devel/boost-docs/Makefile
@@ -65,7 +65,7 @@
 TOOLS_PLATFORM.tar=    #empty
 .    include "../../mk/compiler.mk"
 .    if !empty(CC_VERSION:Mgcc-4.[6-9]*)
-BUILDLINK_TRANSFORM+=  rename:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
+BUILDLINK_TRANSFORM+=  opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
 .    endif
 .  endif
 
diff -r 22dfe30ee901 -r 02c23d21ee1a misc/libreoffice4/Makefile
--- a/misc/libreoffice4/Makefile        Mon Dec 15 11:38:51 2014 +0000
+++ b/misc/libreoffice4/Makefile        Mon Dec 15 11:46:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2014/11/20 16:04:15 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2014/12/15 11:46:35 jperkin Exp $
 
 VERREL=                4.3.4
 VERRC=         1
@@ -18,7 +18,7 @@
 # With -O2, when preference window is opened, soffice.bin crashes with SIGFPE.
 .include "../../mk/bsd.prefs.mk"
 .if !empty(MACHINE_PLATFORM:MNetBSD-5.*)
-BUILDLINK_TRANSFORM+=  rename:-O2:-O



Home | Main Index | Thread Index | Old Index