- 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
This commit is contained in:
parent
bed6b7f35f
commit
81b2714cb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309584
2 changed files with 5 additions and 1 deletions
|
@ -9,5 +9,8 @@ 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
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue