diff options
author | joerg <joerg@pkgsrc.org> | 2017-09-04 15:57:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-09-04 15:57:01 +0000 |
commit | f426700df66dd2c90d920de36de506e97724dc84 (patch) | |
tree | 39833a736c30613d2b73034c9952bcd280813632 /cross | |
parent | b504a8a6bbb82afd9309f510573e3533d252c12e (diff) | |
download | pkgsrc-f426700df66dd2c90d920de36de506e97724dc84.tar.gz |
Deal with absence of limit macros in C++98.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/avr-gdb/Makefile | 5 |
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" |