pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncurses USE_LANGUAGES must be set before includi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d881261ec0a
branches: trunk
changeset: 652535:8d881261ec0a
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jun 04 09:14:33 2015 +0000
description:
USE_LANGUAGES must be set before including compiler.mk
diffstat:
devel/ncurses/Makefile.common | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 2350603e6133 -r 8d881261ec0a devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common Thu Jun 04 00:10:45 2015 +0000
+++ b/devel/ncurses/Makefile.common Thu Jun 04 09:14:33 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2015/06/02 01:03:57 sevan Exp $
+# $NetBSD: Makefile.common,v 1.28 2015/06/04 09:14:33 jperkin Exp $
#
# used by devel/ncurses/Makefile
# used by devel/ncursesw/Makefile
@@ -42,6 +42,10 @@
CONFIGURE_ARGS+= --disable-mixed-case
.endif
+.if ${OPSYS} == "SunOS"
+USE_LANGUAGES+= c99
+.endif
+
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
TOOL_DEPENDS+= ncurses-${NC_VERS}:../../devel/ncurses
CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q}
@@ -64,7 +68,6 @@
.include "../../mk/compiler.mk"
.if ${OPSYS} == "SunOS"
-USE_LANGUAGES+= c99
. if !empty(CC_VERSION:Mgcc-4.*)
#This may yet need to be adapted for systems prior to Solaris 10
BUILDLINK_TRANSFORM+= opt:-D_XOPEN_SOURCE=500:-D_POSIX_C_SOURCE=200112L
Home |
Main Index |
Thread Index |
Old Index