summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-05-13 19:28:13 +0000
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-05-13 19:28:13 +0000
commit26e911696bf6a08a4abb6998a3a71f082175c72b (patch)
tree00e4be60c76b18839e1e69c57379d800a09e3778 /media-libs
parentsci-geosciences/opencpn: Fix English. (diff)
downloadsunrise-26e911696bf6a08a4abb6998a3a71f082175c72b.tar.gz
sunrise-26e911696bf6a08a4abb6998a3a71f082175c72b.tar.bz2
sunrise-26e911696bf6a08a4abb6998a3a71f082175c72b.zip
media-libs/portmidi: Fix pmdefaults wrapper on gentoo prefix.
(Portage version: 2.2.0_alpha31-r1/svn/Linux x86_64) svn path=/sunrise/; revision=12061
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/portmidi/ChangeLog3
-rw-r--r--media-libs/portmidi/portmidi-217.ebuild6
2 files changed, 6 insertions, 3 deletions
diff --git a/media-libs/portmidi/ChangeLog b/media-libs/portmidi/ChangeLog
index d037eddee..cada2eb72 100644
--- a/media-libs/portmidi/ChangeLog
+++ b/media-libs/portmidi/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 May 2011; Nathan Phillip Brink <binki@gentoo.org> portmidi-217.ebuild:
+ Fix pmdefaults wrapper on gentoo prefix.
+
06 May 2011; Michał Górny <mgorny@gentoo.org>
-files/portmidi-217-java-path.patch, metadata.xml:
Fix <herd/>, remove unused patch.
diff --git a/media-libs/portmidi/portmidi-217.ebuild b/media-libs/portmidi/portmidi-217.ebuild
index f5eaf44bc..8b3a67cee 100644
--- a/media-libs/portmidi/portmidi-217.ebuild
+++ b/media-libs/portmidi/portmidi-217.ebuild
@@ -51,7 +51,7 @@ src_prepare() {
# Gentoo prefers to keep jars, it also specifies a library directory
cat > pm_java/pmdefaults/pmdefaults <<-EOF
#!/bin/sh
- java -Djava.library.path=/usr/$(get_libdir)/ \\
+ java -Djava.library.path="${EPREFIX}"/usr/$(get_libdir)/ \\
-jar "${EPREFIX}/usr/share/${PN}/lib/pmdefaults.jar"
EOF
[ "$?" -neq "0" ] && die "cat pmdefaults failed"
@@ -140,13 +140,13 @@ src_install() {
}
pkg_postinst() {
- # prevent distutils_pkg_postinst from being called autmatically if
+ # prevent distutils_pkg_postinst from being called autmatically if
# python is disabled
use python && distutils_pkg_postinst
}
pkg_postrm() {
- # prevent distutils_pkg_postrm from being called autmatically if
+ # prevent distutils_pkg_postrm from being called autmatically if
# python is disabled
use python && distutils_pkg_postrm
}