View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/dev-java/blackdown-jdk/blackdown-jdk-1.4.2_rc1.ebuild (-12 / +14 lines)
 Lines 2-8    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2_rc1.ebuild,v 1.11 2004/06/24 22:18:36 agriffis Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2_rc1.ebuild,v 1.11 2004/06/24 22:18:36 agriffis Exp $
IUSE="doc"
IUSE="doc mozilla"
inherit java nsplugins
inherit java nsplugins
 Lines 94-117    Link Here 
	dodoc COPYRIGHT LICENSE README INSTALL
	dodoc COPYRIGHT LICENSE README INSTALL
	dohtml README.html
	dohtml README.html
	# Install mozilla plugin
	# Install mozilla plugin if mozilla use flag is set
	case ${ARCH} in
	if use mozilla ; then
		amd64|x86) platform="i386" ;;
		case ${ARCH} in
		ppc) platform="ppc" ;;
			amd64) platform="amd64" ;;
		sparc*) platform="sparc" ;;
			ppc) platform="ppc" ;;
	esac
			sparc*) platform="sparc" ;;
	inst_plugin /opt/${P}/jre/plugin/${platform}/mozilla/javaplugin_oji.so
			x86) platform="i386" ;;
		esac
		inst_plugin /opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
	fi
	find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
	find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
	sed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
	dosed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
	# install env into /etc/env.d
	# install env into /etc/env.d
	set_java_env ${FILESDIR}/${VMHANDLE} || die
	set_java_env ${FILESDIR}/${VMHANDLE} || die
	# Fix for bug 26629
	# Fix for bug 26629
	if [ "${PROFILE_ARCH}" = "sparc64" ]
	if [ "${PROFILE_ARCH}" = "sparc64" ]; then
	then
		dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
		dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
	fi
	fi
 Lines 134-140    Link Here 
			chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
			chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
		done
		done
		# /opt/blackdown-jdk-1.4.1/jre/bin/java_vm
		# /opt/blackdown-jdk-1.4.2_rc1/jre/bin/java_vm
		chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
		chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
		einfo "you should have seen lots of chpax output above now"
		einfo "you should have seen lots of chpax output above now"