From 1f3e5824816f89014ad3f986d28ba81d865fe75d Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Tue, 22 Jan 2013 10:54:24 +0000 Subject: - Add USE_NCURSES, so it can now pick up ports ncurses if installed Obtained from: FreeBSD Haskell --- devel/hs-terminfo/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel') diff --git a/devel/hs-terminfo/Makefile b/devel/hs-terminfo/Makefile index a1e0aa663ecb..c2722fa786d2 100644 --- a/devel/hs-terminfo/Makefile +++ b/devel/hs-terminfo/Makefile @@ -9,8 +9,10 @@ COMMENT= Haskell bindings to the terminfo library LICENSE= BSD -CONFIGURE_ARGS+= --configure-option=--with-curses-includes=/usr/include \ - --configure-option=--with-curses-libraries=/usr/lib +USE_NCURSES= yes + +CONFIGURE_ARGS+= --configure-option=--with-curses-includes=${NCURSESINC} \ + --configure-option=--with-curses-libraries=${NCURSESLIB} .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include -- cgit v1.2.3