aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlbr <lbr@FreeBSD.org>2012-01-11 12:08:52 +0800
committerlbr <lbr@FreeBSD.org>2012-01-11 12:08:52 +0800
commit6719aa49ac8d790729881fad95d5e9714887eb1f (patch)
treecef6f8b06e19b139275bc61f60c25641c17b6be7 /textproc
parente55b99c265d99eeda2e4af1138bc77c351644c7b (diff)
downloadfreebsd-ports-gnome-6719aa49ac8d790729881fad95d5e9714887eb1f.tar.gz
freebsd-ports-gnome-6719aa49ac8d790729881fad95d5e9714887eb1f.tar.zst
freebsd-ports-gnome-6719aa49ac8d790729881fad95d5e9714887eb1f.zip
Having dependencies that depends on local files cause "magic" behaviour that confuses "make index"
and users. Turned into an OPTION instead. Thanks to olgeni@ and dougb@ for reporting.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-ack/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/p5-ack/Makefile b/textproc/p5-ack/Makefile
index 17864b98a6a2..1a0f4c3c937c 100644
--- a/textproc/p5-ack/Makefile
+++ b/textproc/p5-ack/Makefile
@@ -23,10 +23,12 @@ PERL_CONFIGURE= yes
MAN1= ack.1
+OPTIONS= BASH_COMPLETE "use bash completion" off
+
.include <bsd.port.pre.mk>
COMPLETION_DIR= ${PREFIX}/etc/bash_completion.d
-.if exists(${COMPLETION_DIR})
+.if defined(WITH_BASH_COMPLETE)
RUN_DEPENDS+= ${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion
PLIST_SUB+= BASH=""
post-install: