Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The search/replace of CFLAGS in the toplevel Makefile by the media-libs/ladspa-cmt-1.14.ebuild causes the ebuild to fail (complaining about '/usr/include' already being in the include path): src_unpack() { unpack "${A}" cd "${S}" sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \ -e 's|/usr/local/include|/usr/include|g' \ -e 's|/usr/local/lib|/usr/lib|g' \ makefile > makefile.new mv makefile.new makefile } Since both the replacement include and lib paths are the defaults it isn't necessary to specify them at all, and doing so causes the build to fail. I suggest the following replacement: src_unpack() { unpack "${A}" cd "${S}" sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \ -e 's|/usr/local/include||g' \ -e 's|/usr/local/lib||g' \ makefile > makefile.new mv makefile.new makefile } Of course, you could just remove the whole search/replace and it would still work. I'm not sure if the failure is specific to gcc-3.2 so Im posting this as 1.4_rc1 only.
Created an attachment (id=4050) [edit] ladspa-cmt-1.14.ebuild
committed