pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ncursesw Fix build under Solaris 10 using G++ as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6060ef47a34e
branches:  trunk
changeset: 569161:6060ef47a34e
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jan 11 10:38:16 2010 +0000

description:
Fix build under Solaris 10 using G++ as the compiler.

diffstat:

 devel/ncursesw/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f795ad4faa73 -r 6060ef47a34e devel/ncursesw/Makefile
--- a/devel/ncursesw/Makefile   Mon Jan 11 09:26:01 2010 +0000
+++ b/devel/ncursesw/Makefile   Mon Jan 11 10:38:16 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/11/05 16:12:38 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/11 10:38:16 tron Exp $
 
 .include "../../devel/ncurses/Makefile.common"
 
@@ -15,6 +15,10 @@
 
 BUILD_TARGET=  libs
 
+.if ${OPSYS} == "SunOS"
+CXXFLAGS+=     -D_XPG5
+.endif
+
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/include/curses.h ${DESTDIR}${PREFIX}/include/ncursesw/ncurses.h
        for LIB in form menu ncurses++ ncurses panel; do        \



Home | Main Index | Thread Index | Old Index