Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200906 - app-text/ghostscript-gpl-8.61 installs IJS in /usr/local
Summary: app-text/ghostscript-gpl-8.61 installs IJS in /usr/local
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-01 10:01 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-12-03 21:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-12-01 10:01:49 UTC
Beside the fact that we should _never_ install in /usr/local:

flame@enterprise ~ % qlist ghostscript-gpl | grep /usr/local
/usr/local/bin/ijs_server_example
/usr/local/bin/ijs-config
/usr/local/bin/ijs_client_example
/usr/local/share/man/man1/ijs-config.1.bz2
/usr/local/include/ijs/ijs.h
/usr/local/include/ijs/ijs_server.h
/usr/local/include/ijs/ijs_client.h
/usr/local/lib/libijs.a
/usr/local/lib/pkgconfig/ijs.pc
/usr/local/lib/libijs.la
/usr/lib/debug/usr/local/bin/ijs_server_example.debug
/usr/lib/debug/usr/local/bin/ijs_client_example.debug


This was previously installed in /usr instead.

Please fix this with a revbump.

Thanks,
Diego
Comment 1 Rafał Mużyło 2007-12-01 11:54:47 UTC
Well, changing in the ebuild
./autogen.sh || die "ijs autogen failed"
to 
AUTOMAKE_OPTIONS="--copy" ./autogen.sh --prefix=/usr || die "ijs autogen failed"
seems to fix it.
--copy is cause eutils do it this way.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-12-01 12:10:55 UTC
Do not use autogen.sh, use eautoreconf and ./configure, and eventually mime what autogen does in the middle.
Comment 3 Rafał Mużyło 2007-12-01 18:32:56 UTC
(In reply to comment #2)
> Do not use autogen.sh, use eautoreconf and ./configure, and eventually mime
> what autogen does in the middle.
> 

In that case, does econf not work ?
Contents of autogen.sh doesn't suggest it.
And the whole autogen.sh should be covered by eautoreconf, followed by econf.
Only question remaining is does it need WANT_AUTOMAKE=1.6 or is "latest" enough.
Comment 4 Timo Gurr (RETIRED) gentoo-dev 2007-12-03 21:42:34 UTC
Fixed in CVS, thanks for spotting!