pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/avr-gdb



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon Sep  4 15:57:01 UTC 2017

Modified Files:
        pkgsrc/cross/avr-gdb: Makefile

Log Message:
Deal with absence of limit macros in C++98.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/cross/avr-gdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cross/avr-gdb/Makefile
diff -u pkgsrc/cross/avr-gdb/Makefile:1.22 pkgsrc/cross/avr-gdb/Makefile:1.23
--- pkgsrc/cross/avr-gdb/Makefile:1.22  Sun Jan 29 05:18:09 2017
+++ pkgsrc/cross/avr-gdb/Makefile       Mon Sep  4 15:57:01 2017
@@ -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"



Home | Main Index | Thread Index | Old Index