Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gdb gdb: Adapt to out-of-sources build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07170d19cc3a
branches:  trunk
changeset: 437607:07170d19cc3a
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Thu Aug 27 13:11:18 2020 +0000

description:
gdb: Adapt to out-of-sources build

Requested by newer releases of GDB.

diffstat:

 devel/gdb/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 01e744199a4b -r 07170d19cc3a devel/gdb/Makefile
--- a/devel/gdb/Makefile        Thu Aug 27 13:07:39 2020 +0000
+++ b/devel/gdb/Makefile        Thu Aug 27 13:11:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2020/06/03 16:50:19 kamil Exp $
+# $NetBSD: Makefile,v 1.70 2020/08/27 13:11:18 kamil Exp $
 
 DISTNAME=      gdb-8.3.1
 CATEGORIES=    devel
@@ -67,6 +67,12 @@
 CONFIGURE_ARGS+=       --with-separate-debug-dir=/usr/libdata/debug
 .endif
 
+CONFIGURE_DIRS=                ${WRKDIR}/build
+CONFIGURE_SCRIPT=      ${WRKSRC}/configure
+
+post-extract:
+       ${MKDIR} ${WRKDIR}/build
+
 post-install:
        ${RM} -f ${DESTDIR}/${PREFIX}/lib/charset.alias
 #



Home | Main Index | Thread Index | Old Index