summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e0a51c7)
raw | patch | inline | side by side (parent: e0a51c7)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 26 Jul 2009 20:16:14 +0000 (22:16 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 26 Jul 2009 20:16:14 +0000 (22:16 +0200) |
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 71a1e5026bcc3f83a1a947f4b571ee5960d91500..160a96eedd7a4cf77ec222213fdf2f001c2322e4 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
configure, using OpenJDK found in /usr/lib/jvm/java-6-openjdk. The
archdir mapping used by the openjdk-6 Debian package is used to find
libjvm.so in JAVA_HOME/jre/lib/ARCHDIR/server.
+ - Use -rpath to tell the "java" plugin where to find libjvm.so.
- Pass --enable-all-plugins to configure to make sure that the build fails
if any prerequisites are missing.
* debian/control:
version 4 of collectd - the script now supports the --recursive option
which takes care of that.
- -- Sebastian Harl <tokkee@debian.org> Thu, 23 Jul 2009 23:35:03 +0200
+ -- Sebastian Harl <tokkee@debian.org> Sun, 26 Jul 2009 22:14:25 +0200
collectd (4.6.3-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 0d8a9b100e70f3027284453a884a6b714b8e7d31..6b2c1055b5a1e77af455ff7b06b4fcd1c6342d09 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
JAVA_ARCHDIR = $(strip $(patsubst $(DEB_BUILD_ARCH)=%, %, \
$(filter $(DEB_BUILD_ARCH)=%, $(JAVA_ARCHDIR_MAP))))
JAVA_HOME = /usr/lib/jvm/java-6-openjdk
+JAVA_LIBDIR = $(JAVA_HOME)/jre/lib/$(JAVA_ARCHDIR)/server
JAVAC = $(JAVA_HOME)/bin/javac
JAVA_CPPFLAGS = -I$(JAVA_HOME)/include
-JAVA_LDFLAGS = -L$(JAVA_HOME)/jre/lib/$(JAVA_ARCHDIR)/server
+JAVA_LDFLAGS = -L$(JAVA_LIBDIR) -Wl,-rpath -Wl,$(JAVA_LIBDIR)
include /usr/share/dpatch/dpatch.make