Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 55468
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
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
3
# $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 $
4
4
5
IUSE="doc"
5
IUSE="doc mozilla"
6
6
7
inherit java nsplugins
7
inherit java nsplugins
8
8
Lines 94-117 Link Here
94
	dodoc COPYRIGHT LICENSE README INSTALL
94
	dodoc COPYRIGHT LICENSE README INSTALL
95
	dohtml README.html
95
	dohtml README.html
96
96
97
	# Install mozilla plugin
97
	# Install mozilla plugin if mozilla use flag is set
98
	case ${ARCH} in
98
	if use mozilla ; then
99
		amd64|x86) platform="i386" ;;
99
		case ${ARCH} in
100
		ppc) platform="ppc" ;;
100
			amd64) platform="amd64" ;;
101
		sparc*) platform="sparc" ;;
101
			ppc) platform="ppc" ;;
102
	esac
102
			sparc*) platform="sparc" ;;
103
	inst_plugin /opt/${P}/jre/plugin/${platform}/mozilla/javaplugin_oji.so
103
			x86) platform="i386" ;;
104
		esac
105
		inst_plugin /opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
106
	fi
104
107
105
	find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
108
	find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
106
109
107
	sed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
110
	dosed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
108
111
109
	# install env into /etc/env.d
112
	# install env into /etc/env.d
110
	set_java_env ${FILESDIR}/${VMHANDLE} || die
113
	set_java_env ${FILESDIR}/${VMHANDLE} || die
111
114
112
	# Fix for bug 26629
115
	# Fix for bug 26629
113
	if [ "${PROFILE_ARCH}" = "sparc64" ]
116
	if [ "${PROFILE_ARCH}" = "sparc64" ]; then
114
	then
115
		dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
117
		dosym /opt/${P}/jre/lib/sparc /opt/${P}/jre/lib/sparc64
116
	fi
118
	fi
117
119
Lines 134-140 Link Here
134
			chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
136
			chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/bin/$paxkills
135
		done
137
		done
136
138
137
		# /opt/blackdown-jdk-1.4.1/jre/bin/java_vm
139
		# /opt/blackdown-jdk-1.4.2_rc1/jre/bin/java_vm
138
		chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
140
		chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${PN}-${PV}/jre/bin/java_vm
139
141
140
		einfo "you should have seen lots of chpax output above now"
142
		einfo "you should have seen lots of chpax output above now"

Return to bug 55468