aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-12-29 04:05:44 +0800
committerpgj <pgj@FreeBSD.org>2012-12-29 04:05:44 +0800
commit0e0a436cef915164d2b63e4abd2d82db5781d752 (patch)
tree0f933b9a53426c942738e4399d59dabc81f7d4b2 /lang
parentd975a9f4171a1fac1b00a0c369a016f02b3c58ba (diff)
downloadfreebsd-ports-gnome-0e0a436cef915164d2b63e4abd2d82db5781d752.tar.gz
freebsd-ports-gnome-0e0a436cef915164d2b63e4abd2d82db5781d752.tar.zst
freebsd-ports-gnome-0e0a436cef915164d2b63e4abd2d82db5781d752.zip
- Make dependency on base-system ncurses explicit -- this fixes potential
build errors when devel/ncurses is also installed PR: ports/174703 Reported by: Finn <bash.org@gmail.com> Obtained from: FreeBSD Haskell
Diffstat (limited to 'lang')
-rw-r--r--lang/ghc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index de27c2f9c771..8b68bb888860 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -201,12 +201,13 @@ post-extract:
.else
@${ECHO} >> ${WRKSRC}/mk/build.mk "BSD_PATH_TO_HSC2HS = ${BOOT_HSC2HS}"
.endif
- @${ECHO} >> ${WRKSRC}/mk/build.mk "SRC_HC_OPTS += -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+ @${ECHO} >> ${WRKSRC}/mk/build.mk "SRC_HC_OPTS += -I/usr/include -L/usr/lib -I${LOCALBASE}/include -L${LOCALBASE}/lib"
@${ECHO} >> ${WRKSRC}/mk/build.mk "SRC_CC_OPTS += ${CFLAGS}"
@${ECHO} >> ${WRKSRC}/mk/build.mk "EXTRA_HSC2HS_OPTS += -I${LOCALBASE}/include --lflag=-L${LOCALBASE}/lib"
@${ECHO} >> ${WRKSRC}/mk/build.mk "EXTRA_LD_OPTS += -L${LOCALBASE}/lib"
@${ECHO} >> ${WRKSRC}/mk/build.mk "EXTRA_CABAL_CONFIGURE_FLAGS += --extra-include-dirs=${LOCALBASE}/include"
@${ECHO} >> ${WRKSRC}/mk/build.mk "EXTRA_CABAL_CONFIGURE_FLAGS += --extra-lib-dirs=${LOCALBASE}/lib"
+ @${ECHO} >> ${WRKSRC}/mk/build.mk "libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes=/usr/include --configure-option=--with-curses-libraries=/usr/lib"
# @${ECHO} >> ${WRKSRC}/mk/build.mk "BIN_DIST_NAME = ghc-\$$(ProjectVersion)-boot"
# @${ECHO} >> ${WRKSRC}/mk/build.mk "BIN_DIST_TAR = ghc-\$$(ProjectVersion)-amd64-ash0-freebsd8-boot.tar"