Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Wed Sep 27 11:42:29 EDT 2017

    Replace absolute symlinks with relative ones

    Using absolute locations for symlinks results in destinations that do
    not exist on the target RFS.

--- OpenDDS-3.11/java/idl2jni/codegen/idl2jni_codegen.mpc.orig	2017-05-12 16:41:55.000000000 -0400
+++ OpenDDS-3.11/java/idl2jni/codegen/idl2jni_codegen.mpc	2017-09-27 11:40:38.322118764 -0400
@@ -23,6 +23,6 @@ project: aceexe, crosscompile, dds_macro
 
   verbatim(gnuace, postinstall) {
 "	@$(MKDIR) $(INSTALL_PREFIX)/share/dds/bin"
-"	ln -sf $(INSTALL_PREFIX)/bin/idl2jni $(INSTALL_PREFIX)/share/dds/bin"
+"	ln -sf ../../../bin/idl2jni $(INSTALL_PREFIX)/share/dds/bin"
   }
 }
--- OpenDDS-3.11/dds/DdsDcps.mpc.orig	2017-05-12 16:41:55.000000000 -0400
+++ OpenDDS-3.11/dds/DdsDcps.mpc	2017-09-27 11:41:02.439108372 -0400
@@ -87,7 +87,7 @@ project(OpenDDS_Dcps): core, coverage_op
   verbatim(gnuace, postinstall) {
 "	echo export DDS_ROOT=$(DESTDIR)$(INSTALL_PREFIX)/share/dds> $(DESTDIR)$(INSTALL_PREFIX)/share/dds/dds-devel.sh"
 "	@$(MKDIR) $(DESTDIR)$(INSTALL_PREFIX)/share/dds/dds"
-"	ln -sf $(DESTDIR)$(INSTALL_PREFIX)/include/dds/Version.h $(DESTDIR)$(INSTALL_PREFIX)/share/dds/dds"
+"	ln -sf ../../../include/dds/Version.h $(DESTDIR)$(INSTALL_PREFIX)/share/dds/dds"
   }
 
 }
--- OpenDDS-3.11/dds/idl/opendds_idl.mpc.orig	2017-05-12 16:41:55.000000000 -0400
+++ OpenDDS-3.11/dds/idl/opendds_idl.mpc	2017-09-27 11:41:29.129096902 -0400
@@ -32,7 +32,7 @@ project: aceexe, dds_macros, crosscompil
 
   verbatim(gnuace, postinstall) {
 "	@$(MKDIR) $(DESTDIR)$(INSTALL_PREFIX)/share/dds/bin"
-"	ln -sf $(DESTDIR)$(INSTALL_PREFIX)/bin/opendds_idl $(DESTDIR)$(INSTALL_PREFIX)/share/dds/bin"
+"	ln -sf ../../../bin/opendds_idl $(DESTDIR)$(INSTALL_PREFIX)/share/dds/bin"
   }
 
 }
