aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/tirpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/java-sigar/tirpc.patch')
-rw-r--r--community/java-sigar/tirpc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/java-sigar/tirpc.patch b/community/java-sigar/tirpc.patch
new file mode 100644
index 0000000000..41454e5313
--- /dev/null
+++ b/community/java-sigar/tirpc.patch
@@ -0,0 +1,25 @@
+--- a/bindings/java/build.xml
++++ b/bindings/java/build.xml
+@@ -223,6 +223,7 @@
+ <path location="../../src/os/${jni.src}"/>
+ <path location="${build}/src"/>
+ <path location="src/jni"/>
++ <path location="/usr/include/tirpc"/>
+ </path>
+
+ <!-- extra solaris libs -->
+@@ -243,6 +243,14 @@
+ <condition property="jni.libset.libs" value="odm,cfg,perfstat,pthreads">
+ <isset property="aix"/>
+ </condition>
++
++ <condition property="jni.libset.dir" value="/usr/lib">
++ <isset property="linux"/>
++ </condition>
++
++ <condition property="jni.libset.libs" value="tirpc">
++ <isset property="linux"/>
++ </condition>
+ </target>
+
+ <target name="copy-includes">