[Midnightbsd-cvs] src [10461] trunk/gnu/usr.bin/dialog/Makefile: update build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jun 6 19:54:15 EDT 2018
Revision: 10461
http://svnweb.midnightbsd.org/src/?rev=10461
Author: laffer1
Date: 2018-06-06 19:54:14 -0400 (Wed, 06 Jun 2018)
Log Message:
-----------
update build
Modified Paths:
--------------
trunk/gnu/usr.bin/dialog/Makefile
Modified: trunk/gnu/usr.bin/dialog/Makefile
===================================================================
--- trunk/gnu/usr.bin/dialog/Makefile 2018-06-06 23:53:18 UTC (rev 10460)
+++ trunk/gnu/usr.bin/dialog/Makefile 2018-06-06 23:54:14 UTC (rev 10461)
@@ -1,14 +1,24 @@
# $MidnightBSD$
+# $FreeBSD: stable/10/gnu/usr.bin/dialog/Makefile 262643 2014-03-01 03:09:16Z brooks $
-.PATH: ${.CURDIR}/../../../contrib/dialog
+DIALOG= ${.CURDIR}/../../../contrib/dialog
+PROG= dialog
-PROG= dialog
+DPADD= ${LIBDIALOG} ${LIBM}
+LDADD= -ldialog -lm
+CFLAGS+= -I${.CURDIR} -I${DIALOG}
+.PATH: ${DIALOG}
-CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/dialog
+WARNS?= 6
-WARNS?= 3
+.include <bsd.own.mk>
-DPADD= $(LIBDIALOG) $(LIBNCURSES) $(LIBM)
-LDADD= -ldialog -lncursesw -lm
+.if ${MK_NCURSESW} == "no"
+DPADD+= ${LIBNCURSES}
+LDADD+= -lncurses
+.else
+DPADD+= ${LIBNCURSESW}
+LDADD+= -lncursesw
+.endif
.include <bsd.prog.mk>
More information about the Midnightbsd-cvs
mailing list