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 | 60940d8731de86f3c7e84e39d6bb1174ed17850b (patch) | |
tree | 415dc25286e300b0921d273edf27cc49c76a7007 | |
parent | 4fb2b741ee743e439545cfd6ea6d0dcb289111f2 (diff) | |
download | pkgsrc-60940d8731de86f3c7e84e39d6bb1174ed17850b.tar.gz |
Deal with absence of limit macros in C++98.
-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" |