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

(-)snort-2.9.2.ebuild (-3 / +3 lines)
Lines 52-58 Link Here
52
		|| die "sed for sf_engine failed"
52
		|| die "sed for sf_engine failed"
53
53
54
	#Multilib fix for the curent set of dynamic-preprocessors
54
	#Multilib fix for the curent set of dynamic-preprocessors
55
	for i in ftptelnet smtp ssh dns ssl dcerpc2 sdf imap pop rzb_saac sip reputation; do
55
	for i in ftptelnet smtp ssh dns ssl dcerpc2 sdf imap pop rzb_saac sip reputation gtp modbus dnp3; do
56
		sed -i -e 's|${exec_prefix}/lib|${exec_prefix}/'$(get_libdir)'|g' \
56
		sed -i -e 's|${exec_prefix}/lib|${exec_prefix}/'$(get_libdir)'|g' \
57
			"${WORKDIR}/${P}/src/dynamic-preprocessors/$i/Makefile.am" \
57
			"${WORKDIR}/${P}/src/dynamic-preprocessors/$i/Makefile.am" \
58
			|| die "sed for $i failed."
58
			|| die "sed for $i failed."
Lines 168-175 Link Here
168
	rm "${D}"usr/share/doc/"${PF}"/Makefile* || die "Failed to remove doc make files"
168
	rm "${D}"usr/share/doc/"${PF}"/Makefile* || die "Failed to remove doc make files"
169
169
170
	#Remove unneeded .la files (Bug #382863)
170
	#Remove unneeded .la files (Bug #382863)
171
	rm "${D}"usr/$(get_libdir)/snort_dynamicengine/libsf_engine.la || die
171
	rm "${D}"usr/$(get_libdir)/snort_dynamicengine/libsf_engine.la
172
	rm "${D}"usr/$(get_libdir)/snort_dynamicpreprocessor/libsf_*_preproc.la || die "Failed to remove libsf_?_preproc.la"
172
	rm "${D}"usr/$(get_libdir)/snort_dynamicpreprocessor/libsf_*_preproc.la
173
173
174
	# Set the correct lib path for dynamicengine, dynamicpreprocessor, and dynamicdetection
174
	# Set the correct lib path for dynamicengine, dynamicpreprocessor, and dynamicdetection
175
	sed -i -e 's|/usr/local/lib|/usr/'$(get_libdir)'|g' \
175
	sed -i -e 's|/usr/local/lib|/usr/'$(get_libdir)'|g' \

Return to bug 403725