Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 196294 | Differences between
and this patch

Collapse All | Expand All

(-)sys-apps/baselayout-prefix/baselayout-prefix-1.12.5-r4.ebuild (-8 / +17 lines)
Lines 29-41 Link Here
29
	unpack ${A}
29
	unpack ${A}
30
30
31
	epatch "${FILESDIR}"/${P/-prefix/}-prefix.patch
31
	epatch "${FILESDIR}"/${P/-prefix/}-prefix.patch
32
	epatch "${FILESDIR}"/${P/-prefix/}-src.patch
33
	epatch "${FILESDIR}"/${P/-prefix/}-sh.patch
32
	cd "${S}"
34
	cd "${S}"
33
	eprefixify \
35
	eprefixify \
34
		etc/env.d/00basic \
36
		etc/env.d/00basic \
35
		etc/profile \
37
		etc/profile \
36
		sbin/env-update.sh \
38
		sbin/env-update.sh \
37
		sbin/functions.sh \
39
		sbin/functions.sh \
38
		sbin/runscript.sh
40
		sbin/runscript.sh \
41
		src/runscript.c \
42
		sbin/depscan.sh \
43
		sbin/rc-daemon.sh \
44
		sbin/rc-services.sh
39
	echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file"
45
	echo 'MANPATH="/usr/share/man"' > etc/env.d/99basic || die "can't make file"
40
}
46
}
41
47
Lines 45-55 Link Here
45
	[[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
51
	[[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
46
52
47
# doesn't compile on Darwin
53
# doesn't compile on Darwin
48
	#make -C "${S}"/src \
54
	make -C "${S}"/src \
49
	#	CC="$(tc-getCC)" \
55
		CC="$(tc-getCC)" \
50
	#	LD="$(tc-getCC) ${LDFLAGS}" \
56
		LD="$(tc-getCC) ${LDFLAGS}" \
51
	#	CFLAGS="${CFLAGS}" \
57
		CFLAGS="${CFLAGS}" \
52
	#	LIBDIR="${libdir}" || die
58
		LIBDIR="${libdir}" || die
53
}
59
}
54
60
55
src_install() {
61
src_install() {
Lines 106-113 Link Here
106
	[[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
112
	[[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
107
113
108
# doesn't compile on Darwin
114
# doesn't compile on Darwin
109
	#cd "${S}"/src
115
	cd "${S}"/src
110
	#make DESTDIR="${D}" LIBDIR="${libdir}" install || die
116
	make DESTDIR="${ED}" LIBDIR="${libdir}" install || die
117
118
	insinto ${rcscripts_dir}/sh
119
	doins "${S}"/lib
111
}
120
}
112
121
113
pkg_postinst() {
122
pkg_postinst() {

Return to bug 196294