summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-09-04 15:57:01 +0000
committerjoerg <joerg@pkgsrc.org>2017-09-04 15:57:01 +0000
commitf426700df66dd2c90d920de36de506e97724dc84 (patch)
tree39833a736c30613d2b73034c9952bcd280813632 /cross
parentb504a8a6bbb82afd9309f510573e3533d252c12e (diff)
downloadpkgsrc-f426700df66dd2c90d920de36de506e97724dc84.tar.gz
Deal with absence of limit macros in C++98.
Diffstat (limited to 'cross')
-rw-r--r--cross/avr-gdb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cross/avr-gdb/Makefile b/cross/avr-gdb/Makefile
index f850fe2f316..5cfb24a409f 100644
--- a/cross/avr-gdb/Makefile
+++ b/cross/avr-gdb/Makefile
@@ -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 @@ pre-configure:
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"