[Midnightbsd-cvs] src [10611] trunk/lib/ncurses/Makefile: modernize

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 9 11:21:39 EDT 2018


Revision: 10611
          http://svnweb.midnightbsd.org/src/?rev=10611
Author:   laffer1
Date:     2018-06-09 11:21:38 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
modernize

Modified Paths:
--------------
    trunk/lib/ncurses/Makefile

Modified: trunk/lib/ncurses/Makefile
===================================================================
--- trunk/lib/ncurses/Makefile	2018-06-09 15:21:17 UTC (rev 10610)
+++ trunk/lib/ncurses/Makefile	2018-06-09 15:21:38 UTC (rev 10611)
@@ -1,7 +1,19 @@
 # $MidnightBSD$
-# $FreeBSD: src/lib/ncurses/Makefile,v 1.2 2007/03/09 12:11:56 rafan Exp $
+# $FreeBSD: stable/10/lib/ncurses/Makefile 276678 2015-01-05 00:15:27Z ngie $
 
-SUBDIR=	ncurses form menu panel \
-	ncursesw formw menuw panelw
+.include <bsd.own.mk>
 
+SUBDIR=	ncurses form menu panel
+
+.if ${MK_NCURSESW} != "no"
+SUBDIR+=	ncursesw formw menuw panelw
+.endif
+
+SUBDIR_PARALLEL=
+
+.for subdir in ${SUBDIR:Nncurses*:N*w}
+SUBDIR_DEPEND_${subdir}=	ncurses
+SUBDIR_DEPEND_${subdir}w=	ncursesw
+.endfor
+
 .include <bsd.subdir.mk>



More information about the Midnightbsd-cvs mailing list