summaryrefslogtreecommitdiff
path: root/devel/kafka/patches/patch-bin_kafka-server-start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kafka/patches/patch-bin_kafka-server-start.sh')
-rw-r--r--devel/kafka/patches/patch-bin_kafka-server-start.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/kafka/patches/patch-bin_kafka-server-start.sh b/devel/kafka/patches/patch-bin_kafka-server-start.sh
new file mode 100644
index 00000000000..68a1f2a8b1c
--- /dev/null
+++ b/devel/kafka/patches/patch-bin_kafka-server-start.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-bin_kafka-server-start.sh,v 1.1 2017/02/28 08:17:28 fhajny Exp $
+
+Paths.
+
+--- bin/kafka-server-start.sh.orig 2015-02-26 22:12:05.000000000 +0000
++++ bin/kafka-server-start.sh
+@@ -22,7 +22,7 @@ fi
+ base_dir=$(dirname $0)
+
+ if [ "x$KAFKA_LOG4J_OPTS" = "x" ]; then
+- export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../config/log4j.properties"
++ export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:@PKG_SYSCONFDIR@/log4j.properties"
+ fi
+
+ if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then