pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gdb6 Revised Makefile so that the GNU libraries:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7568e254b521
branches:  trunk
changeset: 476109:7568e254b521
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Thu Jun 03 18:48:48 2004 +0000

description:
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.

diffstat:

 devel/gdb6/Makefile |   7 ++++++-
 devel/gdb6/PLIST    |  27 +++++++++++++++------------
 2 files changed, 21 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r 6fb99bd9623c -r 7568e254b521 devel/gdb6/Makefile
--- a/devel/gdb6/Makefile       Thu Jun 03 18:48:17 2004 +0000
+++ b/devel/gdb6/Makefile       Thu Jun 03 18:48:48 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/06/01 19:29:30 shannonjr Exp $
+# $NetBSD: Makefile,v 1.2 2004/06/03 18:48:48 shannonjr Exp $
 #
 
 DISTNAME=              gdb-6.1
+PKGREVISION=           1
 CATEGORIES=            devel
 MASTER_SITES=          ftp://sources.redhat.com/pub/gdb/releases/
 EXTRACT_SUFX=          .tar.bz2
@@ -18,6 +19,10 @@
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
+GDB_SUBPREFIX=         gdb6
+GDB_PREFIX=            ${PREFIX}/${GDB_SUBPREFIX}
+CONFIGURE_ARGS+=       --libdir=${GDB_PREFIX}/lib
+CONFIGURE_ARGS+=       --includedir=${GDB_PREFIX}/include
 
 USE_MAKEINFO=          yes
 INFO_FILES=            annotate.info bfd.info configure.info
diff -r 6fb99bd9623c -r 7568e254b521 devel/gdb6/PLIST
--- a/devel/gdb6/PLIST  Thu Jun 03 18:48:17 2004 +0000
+++ b/devel/gdb6/PLIST  Thu Jun 03 18:48:48 2004 +0000
@@ -1,17 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/01 19:29:30 shannonjr Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/06/03 18:48:48 shannonjr Exp $
 bin/gdb
 bin/gdbtui
-include/ansidecl.h
-include/bfd.h
-include/bfdlink.h
-include/dis-asm.h
-include/symcat.h
-lib/libbfd.a
-lib/libbfd.la
-lib/libiberty.a
-lib/libmmalloc.a
-lib/libopcodes.a
-lib/libopcodes.la
+gdb6/include/ansidecl.h
+gdb6/include/bfd.h
+gdb6/include/bfdlink.h
+gdb6/include/dis-asm.h
+gdb6/include/symcat.h
+gdb6/lib/libbfd.a
+gdb6/lib/libbfd.la
+gdb6/lib/libiberty.a
+gdb6/lib/libmmalloc.a
+gdb6/lib/libopcodes.a
+gdb6/lib/libopcodes.la
 man/man1/gdb.1
 man/man1/gdbtui.1
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bfd.mo
@@ -32,3 +32,6 @@
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/bfd.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/opcodes.mo
 ${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/bfd.mo
+@dirrm gdb6/lib
+@dirrm gdb6/include
+@dirrm gdb6



Home | Main Index | Thread Index | Old Index