aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/sharutils
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2013-06-11 22:14:05 +0800
committergarga <garga@FreeBSD.org>2013-06-11 22:14:05 +0800
commitc589a676c6350c88300af3d431ccce031ea078ff (patch)
tree81dc3777b2e119c078379615a110480a5d50c102 /archivers/sharutils
parentd1d68de467da6057fddc5f1a3dd80d71c56059dd (diff)
downloadfreebsd-ports-gnome-c589a676c6350c88300af3d431ccce031ea078ff.tar.gz
freebsd-ports-gnome-c589a676c6350c88300af3d431ccce031ea078ff.tar.zst
freebsd-ports-gnome-c589a676c6350c88300af3d431ccce031ea078ff.zip
Do not install locale.alias file
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 \