7031714 Cleanup GNU binaries and their /usr/bin g-name for package: pkg:/text/gnu-sed
authorRich Burridge <rich.burridge@oracle.com>
Mon, 03 Oct 2011 12:52:03 -0700
changeset 529 99a95b77b79a
parent 528 db21abcd4c91
child 530 ef96dd9da2a7
7031714 Cleanup GNU binaries and their /usr/bin g-name for package: pkg:/text/gnu-sed
components/sed/Makefile
components/sed/sed.p5m
--- a/components/sed/Makefile	Thu Sep 29 10:58:58 2011 -0700
+++ b/components/sed/Makefile	Mon Oct 03 12:52:03 2011 -0700
@@ -36,7 +36,6 @@
 include ../../make-rules/configure.mk
 include ../../make-rules/ips.mk
 
-CONFIGURE_OPTIONS  +=		--program-prefix=g
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 
--- a/components/sed/sed.p5m	Thu Sep 29 10:58:58 2011 -0700
+++ b/components/sed/sed.p5m	Mon Oct 03 12:52:03 2011 -0700
@@ -121,7 +121,7 @@
 dir path=usr/share/locale/zh_TW/LC_MESSAGES
 dir path=usr/share/man
 dir path=usr/share/man/man1
-file path=usr/bin/gsed
+file usr/bin/sed path=usr/gnu/bin/sed
 file path=usr/share/info/sed.info
 file path=usr/share/locale/af/LC_MESSAGES/sed.mo
 file path=usr/share/locale/ca/LC_MESSAGES/sed.mo
@@ -159,10 +159,11 @@
 file path=usr/share/locale/vi/LC_MESSAGES/sed.mo
 file path=usr/share/locale/zh_CN/LC_MESSAGES/sed.mo
 file path=usr/share/locale/zh_TW/LC_MESSAGES/sed.mo
-file path=usr/share/man/man1/gsed.1
+file usr/share/man/man1/sed.1 path=usr/gnu/share/man/man1/sed.1
 legacy pkg=SUNWgsed desc="gsed - GNU sed 4.2.1" \
     name="gsed - GNU implementation of sed, the Unix stream editor"
 license sed.license license=GPLv3
-link path=usr/gnu/bin/sed target=../../bin/gsed
-link path=usr/gnu/share/man/man1/sed.1 \
-    target=../../../../share/man/man1/gsed.1
+link path=usr/bin/gsed \
+    target=../gnu/bin/sed facet.compat.gnulinks=true
+link path=usr/share/man/man1/gsed.1 \
+    target=../../../gnu/share/man/man1/sed.1 facet.compat.gnulinks=true