diff options
author | tron <tron> | 2010-01-11 10:38:16 +0000 |
---|---|---|
committer | tron <tron> | 2010-01-11 10:38:16 +0000 |
commit | cbc20dba988241bc4b82a050571eb39f0e6a3d5e (patch) | |
tree | 75d749bdb477ad1dbc468294f1120a3fcded2098 /devel/ncursesw | |
parent | 632bb53531e1d990d3ce43a602872441c3888623 (diff) | |
download | pkgsrc-cbc20dba988241bc4b82a050571eb39f0e6a3d5e.tar.gz |
Fix build under Solaris 10 using G++ as the compiler.
Diffstat (limited to 'devel/ncursesw')
-rw-r--r-- | devel/ncursesw/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile index 14327dd6430..2febf59568d 100644 --- a/devel/ncursesw/Makefile +++ b/devel/ncursesw/Makefile @@ -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 @@ INSTALLATION_DIRS+= lib 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 \ |