22720551 aalib should switch from slang to ncurses
authorAtiq Rahman <atiq.rahman@oracle.com>
Tue, 08 Mar 2016 15:34:08 -0800
changeset 5563 f50fba81e706
parent 5562 880dc66054d5
child 5564 e533d5840fdd
22720551 aalib should switch from slang to ncurses
components/aalib/Makefile
--- a/components/aalib/Makefile	Mon Mar 07 17:03:48 2016 -0600
+++ b/components/aalib/Makefile	Tue Mar 08 15:34:08 2016 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -55,7 +55,9 @@
 CONFIGURE_OPTIONS	+= --infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS	+= --enable-shared
 CONFIGURE_OPTIONS	+= --disable-static
-CONFIGURE_OPTIONS	+= --x-includes=/usr/include
+CONFIGURE_OPTIONS       += --with-curses-driver
+CONFIGURE_OPTIONS       += --without-slang-driver
+CONFIGURE_OPTIONS	+= --x-includes=$(USRINCDIR)
 CONFIGURE_OPTIONS	+= --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
 
 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
@@ -87,7 +89,7 @@
 system-test:	$(SYSTEM_TEST_32_and_64)
 
 
-REQUIRED_PACKAGES += library/slang
+REQUIRED_PACKAGES += library/ncurses
 REQUIRED_PACKAGES += shell/ksh93
 REQUIRED_PACKAGES += system/library
 REQUIRED_PACKAGES += system/library/math