pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/avr-gdb Deal with absence of limit macros in C++98.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d961c32c55c3
branches: trunk
changeset: 367645:d961c32c55c3
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Sep 04 15:57:01 2017 +0000
description:
Deal with absence of limit macros in C++98.
diffstat:
cross/avr-gdb/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 244a9ca21eb5 -r d961c32c55c3 cross/avr-gdb/Makefile
--- a/cross/avr-gdb/Makefile Mon Sep 04 15:56:33 2017 +0000
+++ b/cross/avr-gdb/Makefile Mon Sep 04 15:57:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/01/29 05:18:09 mef Exp $
+# $NetBSD: Makefile,v 1.23 2017/09/04 15:57:01 joerg Exp $
DISTNAME= gdb-7.12.1
PKGNAME= ${DISTNAME:S/^/avr-/}
@@ -35,6 +35,9 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
+.include "../../mk/bsd.prefs.mk"
+CPPFLAGS+= -D__STDC_LIMIT_MACROS
+
# to link -lcurses.7 => /usr/lib/libcurses.so.7
# instead of terminfo
.include "../../mk/curses.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index