Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 38228
Collapse All | Expand All

(-)openmotif-2.1.30-r3.ebuild~ (-5 / +10 lines)
Lines 28-40 Link Here
28
28
29
	unpack ${A}
29
	unpack ${A}
30
	cd ${S}
30
	cd ${S}
31
	ebegin "adjusting file permissions"
32
	chmod -R ug+w .
33
	eend $? || die
31
34
32
	cp ${FILESDIR}/site.def ${S}/config/cf/
35
	ebegin "setting up site.def"
33
	echo >>$cfg
36
	cp ${FILESDIR}/site.def ${S}/config/cf/ && \
34
	echo >>$cfg "#undef  OptimizedCDebugFlags"
37
	echo >>$cfg && \
35
	echo >>$cfg "#define OptimizedCDebugFlags ${CFLAGS}"
38
	echo >>$cfg "#undef  OptimizedCDebugFlags" && \
36
	echo >>$cfg "#undef  OptimizedCplusplusDebugFlags"
39
	echo >>$cfg "#define OptimizedCDebugFlags ${CFLAGS}" && \
40
	echo >>$cfg "#undef  OptimizedCplusplusDebugFlags" && \
37
	echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}"
41
	echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}"
42
	eend $? || die
38
43
39
	# move `system.mwmrc' from `lib/X11' to `lib/X11/mwm' (but install into
44
	# move `system.mwmrc' from `lib/X11' to `lib/X11/mwm' (but install into
40
	# `/etc/X11/mwm')
45
	# `/etc/X11/mwm')

Return to bug 38228