aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2013-01-22 18:54:24 +0800
committerpgj <pgj@FreeBSD.org>2013-01-22 18:54:24 +0800
commit6b99479649368dd04e4e818f437ca9c9b5147eb2 (patch)
treeb07a5f494131b00da142e6c97f6d4dff8a3dfaf6 /devel
parenta47972b3a0b573c8051556abfaa4e43013cbc521 (diff)
downloadfreebsd-ports-gnome-6b99479649368dd04e4e818f437ca9c9b5147eb2.tar.gz
freebsd-ports-gnome-6b99479649368dd04e4e818f437ca9c9b5147eb2.tar.zst
freebsd-ports-gnome-6b99479649368dd04e4e818f437ca9c9b5147eb2.zip
- Add USE_NCURSES, so it can now pick up ports ncurses if installed
Obtained from: FreeBSD Haskell
Diffstat (limited to 'devel')
-rw-r--r--devel/hs-terminfo/Makefile6
1 files changed, 4 insertions, 2 deletions
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 <bsd.port.mk>