diff options
author | tron <tron> | 2010-01-11 10:38:16 +0000 |
---|---|---|
committer | tron <tron> | 2010-01-11 10:38:16 +0000 |
commit | 2adc02bf75057dd4fb091edb0723b34a97e0b71a (patch) | |
tree | 75d749bdb477ad1dbc468294f1120a3fcded2098 | |
parent | c5508d3d097e87187a9d11088cd18c13a7d69c48 (diff) | |
download | pkgsrc-2adc02bf75057dd4fb091edb0723b34a97e0b71a.tar.gz |
Fix build under Solaris 10 using G++ as the compiler.
-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 \ |