--- a/make-rules/ips.mk Thu Jun 10 15:28:20 2010 -0500
+++ b/make-rules/ips.mk Fri Jun 11 12:23:59 2010 -0500
@@ -44,6 +44,7 @@
PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/actuators
PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/devel
PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/docs
+PKGMOGRIFY_TRANSFORMS += $(WS_TOP)/transforms/locale
MANIFEST = manifest-$(MACH)
--- a/transforms/locale Thu Jun 10 15:28:20 2010 -0500
+++ b/transforms/locale Fri Jun 11 12:23:59 2010 -0500
@@ -27,6 +27,16 @@
# general locale
<transform dir file link hardlink path=.*/locale/.+ -> default facet.locale true>
+
+# The fix for
+# Bug 16156
+# pkgmogrify should allow backreferences in operation to match criteria
+# will allow something like
+# <transform dir file link hardlink \
+# path=.*/locale/(.+)(\..+){0,1}(/.+){0,1}$ -> \
+# default facet.locale.%<\1> true>
+# to replace the rest of the transforms in this file
+
# specific locale dirs
<transform dir file link hardlink path=.*/locale/af(/.+){0,1}$ -> \
default facet.locale.af true>