Skip to content

Commit

Permalink
dev-java/netbeans-platform: fixed eapi 6 issue
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.1
  • Loading branch information
fordfrog committed Oct 6, 2016
1 parent a2aa2b3 commit 4d6f2b5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions dev-java/netbeans-platform/netbeans-platform-8.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ src_prepare() {
# upstream jna jar contains bundled binary libraries so we disable that feature
epatch netbeans-8.2-build.xml.patch

# Support for custom patches
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`

if [ -n "${files}" ] ; then
einfo "Applying custom patches:"

for file in ${files} ; do
epatch "${file}"
done
fi
fi

einfo "Symlinking external libraries..."
java-pkg_jar-from --into libs.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
Expand All @@ -122,6 +109,7 @@ src_prepare() {
java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar

java-pkg-2_src_prepare
default
}

src_compile() {
Expand Down

0 comments on commit 4d6f2b5

Please sign in to comment.