Summary: | lang/ghc fails to install with devel/ncurses on the system | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Finn <bash.org> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-haskell (Nobody) <haskell> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Finn
2012-12-25 15:20:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR. Responsible Changed From-To: freebsd-ports-bugs->haskell Over to maintainer (via the GNATS Auto Assign Tool) Hi, Please find a patch attached for solving the problem. Let me know if this works for you. Author: pgj Date: Fri Dec 28 20:05:44 2012 New Revision: 309584 URL: http://svnweb.freebsd.org/changeset/ports/309584 Log: - 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 Modified: head/devel/hs-terminfo/Makefile head/lang/ghc/Makefile Modified: head/devel/hs-terminfo/Makefile ============================================================================== --- head/devel/hs-terminfo/Makefile Fri Dec 28 19:59:17 2012 (r309583) +++ head/devel/hs-terminfo/Makefile Fri Dec 28 20:05:44 2012 (r309584) @@ -9,5 +9,8 @@ COMMENT= Haskell bindings to the terminf 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> Modified: head/lang/ghc/Makefile ============================================================================== --- head/lang/ghc/Makefile Fri Dec 28 19:59:17 2012 (r309583) +++ head/lang/ghc/Makefile Fri Dec 28 20:05:44 2012 (r309584) @@ -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" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed A fix committed to the ports tree. Thanks for reporting the problem! |