diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-12-28 20:05:44 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-12-28 20:05:44 +0000 |
commit | 81b2714cb4c57fadeaa97edeedd679b0dcd792c1 (patch) | |
tree | 0f933b9a53426c942738e4399d59dabc81f7d4b2 /lang/ghc | |
parent | - update to 1.4 (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=309584
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/Makefile | 3 |
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" |