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

Collapse All | Expand All

(-)/usr/portage/app-office/scribus/scribus-9999.ebuild (-7 / +8 lines)
Lines 81-97 Link Here
81
)
81
)
82
82
83
src_prepare() {
83
src_prepare() {
84
	CMAKE_BUILD_TYPE="Release"
84
	cmake_src_prepare
85
	cmake_src_prepare
85
86
86
	rm -r codegen/cheetah scribus/third_party/hyphen || die
87
	rm -r codegen/cheetah scribus/third_party/hyphen || die
87
88
88
	cat > cmake/modules/FindZLIB.cmake <<- EOF || die
89
	#cat > cmake/modules/FindZLIB.cmake <<- EOF || die
89
	find_package(PkgConfig)
90
	#find_package(PkgConfig)
90
	pkg_check_modules(ZLIB minizip zlib)
91
	#pkg_check_modules(ZLIB minizip zlib)
91
	SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
92
	#SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
92
	SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
93
	#SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
93
	MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
94
	#MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
94
	EOF
95
	#EOF
95
	sed \
96
	sed \
96
		-e "/^\s*unzip\.[ch]/d" \
97
		-e "/^\s*unzip\.[ch]/d" \
97
		-e "/^\s*ioapi\.[ch]/d" \
98
		-e "/^\s*ioapi\.[ch]/d" \

Return to bug 691684