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

Collapse All | Expand All

(-)perl-module.eclass (-2 / +6 lines)
Lines 139-144 Link Here
139
			--libdoc= \
139
			--libdoc= \
140
			--destdir="${D}" \
140
			--destdir="${D}" \
141
			--create_packlist=0 \
141
			--create_packlist=0 \
142
			--config "optimize=${CFLAGS}" \
143
			--config "lddlflags=-shared ${LDFLAGS}" \
142
			"${myconf_local[@]}"
144
			"${myconf_local[@]}"
143
		einfo "perl Build.PL" "$@"
145
		einfo "perl Build.PL" "$@"
144
		perl Build.PL "$@" <<< "${pm_echovar}" \
146
		perl Build.PL "$@" <<< "${pm_echovar}" \
Lines 150-155 Link Here
150
			INSTALLDIRS=vendor \
152
			INSTALLDIRS=vendor \
151
			INSTALLMAN3DIR='none' \
153
			INSTALLMAN3DIR='none' \
152
			DESTDIR="${D}" \
154
			DESTDIR="${D}" \
155
			OPTIMIZE="${CFLAGS}" \
156
			LDDLFLAGS="-shared ${LDFLAGS}" \
153
			"${myconf_local[@]}"
157
			"${myconf_local[@]}"
154
		einfo "perl Makefile.PL" "$@"
158
		einfo "perl Makefile.PL" "$@"
155
		perl Makefile.PL "$@" <<< "${pm_echovar}" \
159
		perl Makefile.PL "$@" <<< "${pm_echovar}" \
Lines 178-189 Link Here
178
			|| die "Compilation failed"
182
			|| die "Compilation failed"
179
	elif [[ -f Makefile ]] ; then
183
	elif [[ -f Makefile ]] ; then
180
		set -- \
184
		set -- \
181
			OTHERLDFLAGS="${LDFLAGS}" \
185
			OPTIMIZE="${CFLAGS}" \
186
			LDDLFLAGS="-shared ${LDFLAGS}" \
182
			"${mymake_local[@]}"
187
			"${mymake_local[@]}"
183
		einfo "emake" "$@"
188
		einfo "emake" "$@"
184
		emake "$@" \
189
		emake "$@" \
185
			|| die "Compilation failed"
190
			|| die "Compilation failed"
186
#			OPTIMIZE="${CFLAGS}" \
187
	fi
191
	fi
188
}
192
}
189
193

Return to bug 261375