Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17668 - Ebuild for pgaccess (New package)
Summary: Ebuild for pgaccess (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-17 02:40 UTC by Dirk Heinrichs
Modified: 2003-03-27 08:50 UTC (History)
0 users

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


Attachments
The ebuild itself (pgaccess-0.98.8.ebuild,622 bytes, text/plain)
2003-03-17 02:41 UTC, Dirk Heinrichs
Details
A patch for the Makefile (pgaccess-0.98.8.patch,959 bytes, patch)
2003-03-17 02:43 UTC, Dirk Heinrichs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2003-03-17 02:40:24 UTC
This is an ebuild for pgaccess 0.98.8, a frontend for postgresql written in TCL/Tk.

Reproducible: Always
Steps to Reproduce:
Comment 1 Dirk Heinrichs 2003-03-17 02:41:27 UTC
Created attachment 9500 [details]
The ebuild itself
Comment 2 Dirk Heinrichs 2003-03-17 02:43:42 UTC
Created attachment 9501 [details, diff]
A patch for the Makefile
Comment 3 Dirk Heinrichs 2003-03-17 02:45:13 UTC
I think a good place for this ebuild is dev-db.
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-03-18 00:25:17 UTC
It's nice ebuild.
I added this ebuild to portage tree as unstable(~x86) after I had corrected a few.(IUSE, DEPEND...)
Please test it.
Comment 5 Dirk Heinrichs 2003-03-18 02:46:09 UTC
I don't know wether this is due to einstall, but your ebuild installs into /usr/usr.
Comment 6 Masatomo Nakano (RETIRED) gentoo-dev 2003-03-18 03:24:24 UTC
sorry, I fixed it.
Please test once again.
Comment 7 Dirk Heinrichs 2003-03-18 03:52:35 UTC
Sorry, you broke it even more. Now emake tries to work on /usr directly instead of using the .../image dir. You'd better keep the original make calls instead of emake and einstall.
Comment 8 Masatomo Nakano (RETIRED) gentoo-dev 2003-03-18 04:55:09 UTC
Sorry, I fixed it using your ebuild and patch.
But I modified only DEPEND,IUSE. OK?
Comment 9 Dirk Heinrichs 2003-03-18 05:29:24 UTC
Works now.

Two additions: Since it is TCL/TK, it should be arch independant, so adding the other ~arch's should be save.

And I think the "make clean" line should better be "make prefix=${D} clean" to prevent it from deleting stuff from /usr directly. Alternatively, it could also be skipped completely. I've allready tested both variants and they work.
Comment 10 Masatomo Nakano (RETIRED) gentoo-dev 2003-03-18 05:38:56 UTC
I think that 'make clean' is unnecessary in src_compile().
What do you think?
Comment 11 Dirk Heinrichs 2003-03-18 05:52:23 UTC
I agree.
Comment 12 Magnus Lie Hetland 2003-03-23 10:09:45 UTC
The ebuild won't work for me -- it seems it tries to execute rm -rf /usr/lib/pgaccess early in the
build process, and I get an ACCESS DENIED error.
Comment 13 Masatomo Nakano (RETIRED) gentoo-dev 2003-03-27 08:50:39 UTC
fixed the bug and I marked as stable.