--- a/components/rsyslog/Makefile Thu Sep 22 14:47:13 2016 +0200
+++ b/components/rsyslog/Makefile Tue Oct 04 09:03:46 2016 +0200
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -85,6 +85,10 @@
# /usr/lib/rsyslog .
CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32)
+# Rsyslog sources contain __FILE__ macros which contain full path to the workspace
+# This may appear in debug output which is not nice. By specifying the source
+# path relative we force the macro to be relative path too.
+CONFIGURE_OPTIONS += --srcdir=../../$(COMPONENT_NAME)-$(COMPONENT_VERSION)
CONFIGURE_OPTIONS += --enable-imsolaris
CONFIGURE_OPTIONS += --enable-mail
CONFIGURE_OPTIONS += --enable-gssapi_krb5