summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-20 07:26:29 +0000
committerjlam <jlam>2006-03-20 07:26:29 +0000
commit1af080121df5caa2bcc106f4898d59a590f581ba (patch)
treeb4f878a4f9e04411298d157a60cfcf894756780f /devel
parent0b58ca85f846bbe318e499934db25e7f4ac98c78 (diff)
downloadpkgsrc-1af080121df5caa2bcc106f4898d59a590f581ba.tar.gz
* Set GNU_CONFIGURE_PREFIX instead of setting each of the --bindir,
--infodir, --mandir, etc. As a side-effect, this corrects the location of the installed info files and man pages to be under "gdbada". * Pass LDFLAGS through to the build via MAKE_FLAGS so that pkgsrc's rpath flags are passed to the linker. * Remove deprecated USE_NEW_TEXINFO. * List info files in the PLIST instead of the package Makefile. Bump the PKGREVISION to 2.
Diffstat (limited to 'devel')
-rw-r--r--devel/gdbada/Makefile32
-rw-r--r--devel/gdbada/PLIST8
2 files changed, 18 insertions, 22 deletions
diff --git a/devel/gdbada/Makefile b/devel/gdbada/Makefile
index 03c660426ed..79928a0f311 100644
--- a/devel/gdbada/Makefile
+++ b/devel/gdbada/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.11 2006/03/05 16:27:24 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2006/03/20 07:26:29 jlam Exp $
DISTNAME= gdbada-6.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
-MASTER_SITES= http://www.johnrshannon.com/download/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.johnrshannon.com/download/
+EXTRACT_SUFX= .tgz
MAINTAINER= john@johnrshannon.com
HOMEPAGE= http://libre.act-europe.fr/GDB/
@@ -13,26 +13,20 @@ COMMENT= GNAT GDB : An Ada 95 Debugger
# Not yet ported to AMD 64-bit machines or Darwin
NOT_FOR_PLATFORM= *-*-x86_64 Darwin-*-*
-WRKSRC= ${WRKDIR}/gdb-6.3
+WRKSRC= ${WRKDIR}/gdb-6.3
+
+USE_TOOLS+= gmake makeinfo
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-GDB_SUBPREFIX= gdbada
-GDB_PREFIX= ${PREFIX}/${GDB_SUBPREFIX}
+
GNU_CONFIGURE= YES
-USE_TOOLS+= gmake makeinfo
-TEST_TARGET= check
-INFO_DIR= ${GDB_PREFIX}/info
-LIB_DIR= ${GDB_PREFIX}/lib
-CONFIGURE_ARGS+= --prefix=${GDB_PREFIX:Q}
-CONFIGURE_ARGS+= --exec-prefix=${GDB_PREFIX:Q}
-CONFIGURE_ARGS+= --infodir=${INFO_DIR:Q}
-CONFIGURE_ARGS+= --libdir=${LIB_DIR:Q}
-CONFIGURE_ARGS+= --includedir=${GDB_PREFIX}/include
-CONFIGURE_ARGS+= --mandir=${GDB_PREFIX}/man
-CONFIGURE_ARGS+= --datadir=${GDB_PREFIX}/share
+GNU_CONFIGURE_PREFIX= ${PREFIX}/gdbada
# We don't seem to be able to control where locale data goes, so:
CONFIGURE_ARGS+= --disable-nls
-USE_NEW_TEXINFO= YES
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+
+INFO_FILES= # PLIST
+TEST_TARGET= check
pre-patch:
${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb
diff --git a/devel/gdbada/PLIST b/devel/gdbada/PLIST
index de9b0674538..9106683ed80 100644
--- a/devel/gdbada/PLIST
+++ b/devel/gdbada/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2005/11/13 14:16:05 shannonjr Exp $
+@comment $NetBSD: PLIST,v 1.4 2006/03/20 07:26:29 jlam Exp $
gdbada/bin/gdb
gdbada/bin/gdbtui
gdbada/include/ansidecl.h
@@ -16,8 +16,10 @@ gdbada/info/standards.info
gdbada/lib/libbfd.la
gdbada/lib/libiberty.a
gdbada/lib/libopcodes.la
-man/man1/gdb.1
-man/man1/gdbtui.1
+gdbada/man/man1/gdb.1
+gdbada/man/man1/gdbtui.1
+@dirrm gdbada/man/man1
+@dirrm gdbada/man
@dirrm gdbada/lib
@dirrm gdbada/info
@dirrm gdbada/include