[67288] trunk/dports/sysutils/bash-completion
raimue at macports.org
raimue at macports.org
Tue May 4 14:51:16 PDT 2010
Revision: 67288
http://trac.macports.org/changeset/67288
Author: raimue at macports.org
Date: 2010-05-04 14:51:14 -0700 (Tue, 04 May 2010)
Log Message:
-----------
sysutils/bash-completion:
mailman completion should not be applied for /usr/bin/arch, fixes #24743
Backport from http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=ef025a78ab3fbba36ce9e3a32786d43e75c711ab;hp=42302658705e3545471f2f4e53c2f758355a2bcc
Modified Paths:
--------------
trunk/dports/sysutils/bash-completion/Portfile
Added Paths:
-----------
trunk/dports/sysutils/bash-completion/files/patch-mailman-arch.diff
Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile 2010-05-04 17:51:20 UTC (rev 67287)
+++ trunk/dports/sysutils/bash-completion/Portfile 2010-05-04 21:51:14 UTC (rev 67288)
@@ -4,7 +4,7 @@
name bash-completion
version 1.1
-revision 6
+revision 7
epoch 1
categories sysutils
platforms darwin
@@ -20,7 +20,8 @@
rmd160 4f3c29479225b44bb3fb682a7ea925bef2e923b6
patchfiles patch-avahi.diff \
- patch-man.diff
+ patch-man.diff \
+ patch-mailman-arch.diff
post-patch {
reinplace "s:/etc/bash_completion:${prefix}/etc/bash_completion:g" \
Added: trunk/dports/sysutils/bash-completion/files/patch-mailman-arch.diff
===================================================================
--- trunk/dports/sysutils/bash-completion/files/patch-mailman-arch.diff (rev 0)
+++ trunk/dports/sysutils/bash-completion/files/patch-mailman-arch.diff 2010-05-04 21:51:14 UTC (rev 67288)
@@ -0,0 +1,14 @@
+http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=ef025a78ab3fbba36ce9e3a32786d43e75c711ab;hp=42302658705e3545471f2f4e53c2f758355a2bcc#patch1
+--- contrib/mailman
++++ contrib/mailman
+@@ -378,7 +378,9 @@ _config_list()
+ } &&
+ complete -F _config_list -o filenames config_list
+
+-have arch &&
++# Try to detect whether this is the mailman "arch" to avoid installing
++# it for the coreutils/util-linux-ng one.
++have arch && have mailmanctl &&
+ _arch()
+ {
+ local cur prev split=false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100504/6c4f0abc/attachment.html>
More information about the macports-changes
mailing list