summaryrefslogtreecommitdiff
path: root/devel/gdb6
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-06-03 18:48:48 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-06-03 18:48:48 +0000
commitd083910bc19e1a238f1112d672ebca8de4e074fc (patch)
tree78924859b56c039d679b92204931ea35fa68c8dd /devel/gdb6
parent0a5838a021869f73f74bdee1b6d9f0c822bf4653 (diff)
downloadpkgsrc-d083910bc19e1a238f1112d672ebca8de4e074fc.tar.gz
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 (limited to 'devel/gdb6')
-rw-r--r--devel/gdb6/Makefile7
-rw-r--r--devel/gdb6/PLIST27
2 files changed, 21 insertions, 13 deletions
diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile
index 11e4bbfc7d7..ab694dd5a3d 100644
--- a/devel/gdb6/Makefile
+++ b/devel/gdb6/Makefile
@@ -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 @@ USE_LIBTOOL= yes
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 --git a/devel/gdb6/PLIST b/devel/gdb6/PLIST
index e59adb4fe76..b38b6ddf2b8 100644
--- a/devel/gdb6/PLIST
+++ b/devel/gdb6/PLIST
@@ -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/sv/LC_MESSAGES/opcodes.mo
${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