aboutsummaryrefslogtreecommitdiff
path: root/archivers/sharutils
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-06-11 14:14:05 +0000
committerRenato Botelho <garga@FreeBSD.org>2013-06-11 14:14:05 +0000
commit6d0207e13494d3a97c64baa1733cd5cfaf87ff3e (patch)
tree81dc3777b2e119c078379615a110480a5d50c102 /archivers/sharutils
parent8370ab00c6f91aef0bc81717e50a875d233b9831 (diff)
downloadports-6d0207e13494d3a97c64baa1733cd5cfaf87ff3e.tar.gz
ports-6d0207e13494d3a97c64baa1733cd5cfaf87ff3e.zip
Do not install locale.alias file
Notes
Notes: svn path=/head/; revision=320561
Diffstat (limited to 'archivers/sharutils')
-rw-r--r--archivers/sharutils/Makefile1
-rw-r--r--archivers/sharutils/files/patch-intl__Makefile.in22
2 files changed, 23 insertions, 0 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile
index e50d31676234..7deb49608ea3 100644
--- a/archivers/sharutils/Makefile
+++ b/archivers/sharutils/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sharutils
PORTVERSION= 4.13.5
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= GNU
diff --git a/archivers/sharutils/files/patch-intl__Makefile.in b/archivers/sharutils/files/patch-intl__Makefile.in
new file mode 100644
index 000000000000..b88aa5df3f18
--- /dev/null
+++ b/archivers/sharutils/files/patch-intl__Makefile.in
@@ -0,0 +1,22 @@
+--- intl/Makefile.in.orig 2013-06-11 08:30:00.000000000 -0300
++++ intl/Makefile.in 2013-06-11 08:31:11.000000000 -0300
+@@ -447,7 +447,6 @@
+ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+ dest=$(DESTDIR)$(localedir)/locale.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
+ else \
+ : ; \
+@@ -556,11 +555,6 @@
+ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+ dest=$(DESTDIR)$(localedir)/locale.alias; \
+ sed -f ref-del.sed $$dest > $$temp; \
+- if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
+- rm -f $$dest; \
+- else \
+- $(INSTALL_DATA) $$temp $$dest; \
+- fi; \
+ rm -f $$temp; \
+ fi; \
+ else \