Subject: Re: CVS commit: pkgsrc/devel/gdb6
To: None <tech-pkg@netbsd.org>
From: John R. Shannon <shannonjr@netbsd.org>
List: tech-pkg
Date: 06/03/2004 13:22:59
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I missed your point originally. I'm in the process of testing the change.
Thank You.
On Thursday 03 June 2004 01:09 pm, Jeremy C. Reed wrote:
> On Thu, 3 Jun 2004, John R. Shannon wrote:
> > Log Message:
> > Revised Makefile so that the GNU libraries: libbfd.a, libbfd.la,
> > libiberty.a libmmalloc.a, libopcodes.a, and libopcodes.la along with
> > associated header files are installed relative to ${PREFIX}/gdb6 rather
> > than ${PREFIX} to avoid conflicts with other packages. PLIST adjusted
> > accordingly.
>
> I'd prefer that we didn't clutter up ${PREFIX}. (Other packages do this
> too.) In my case, I use LOCALBASE as /usr on several machines.
>
> Can you consider doing something like the following instead?
>
> CONFIGURE_ARGS+=3D --libdir=3D${PREFIX}/lib/${GDB_SUBPREFIX}
> CONFIGURE_ARGS+=3D --includedir=3D${PREFIX}/include/${GDB_SUBPREFIX}
>
> And then PLIST like:
> include/${GDB_SUBPREFIX}/bfdlink.h
> ...
> lib/${GDB_SUBPREFIX}/libbfd.a
>
> Also, if you are going to use some variable to define this (GDB_SUBPREFIX
> and GDB_PREFIX), you may want to use them in the PLIST too (with
> PLIST_SUBSTR). If those variables aren't used anywhere else, I'd just get
> rid of them.
>
> Jeremy C. Reed
>
> BSD News, BSD tutorials, BSD links
> http://www.bsdnewsletter.com/
=2D --=20
John R. Shannon
shannonjr@netbsd.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iEYEARECAAYFAkC/epMACgkQOKbCxya4HYvZigCguqbnX4+2440mWpSYNH7U3AwZ
0bEAoLirCpy7HXckYhXin3zSFtptTUhg
=3DmEE+
=2D----END PGP SIGNATURE-----