diff options
author | lbr <lbr@FreeBSD.org> | 2012-01-11 12:08:52 +0800 |
---|---|---|
committer | lbr <lbr@FreeBSD.org> | 2012-01-11 12:08:52 +0800 |
commit | 6719aa49ac8d790729881fad95d5e9714887eb1f (patch) | |
tree | cef6f8b06e19b139275bc61f60c25641c17b6be7 /textproc | |
parent | e55b99c265d99eeda2e4af1138bc77c351644c7b (diff) | |
download | freebsd-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/Makefile | 4 |
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: |