pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ghc7



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Feb  3 02:32:05 UTC 2015

Modified Files:
        pkgsrc/lang/ghc7: Makefile TODO bootstrap.mk
        pkgsrc/lang/ghc7/files: bootstrap.build.mk

Log Message:
Fix build failure that occurs when pkgsrc devel/ncurses is being used

* Formerly we were passing
  "--with-curses-includes=${BUILDLINK_PREFIX.curses}/include" to
  "${WRKSRC}/libraries/terminfo/configure". This is problematic
  because pkgsrc devel/ncurses installs headers into
  ${PREFIX}/include/ncurses, not ${PREFIX}/include, while ghc-cabal
  expects "ncurses.h" and "term.h" in ${PREFIX}/include (because we
  said so) and then it emits an error. The fix is to use
  ${BUILDLINK_INCDIRS.curses} instead of "include". Note that this
  requires my recent changes to ../../mk/curses.buildlink3.mk (r1.21)

* The "bootstrap" target now uses buildlink wrapper not to pick up
  random libraries which happened to be in "${PREFIX}/lib". Bootstrap
  binary kits should be linked with a predictable set of libraries.

* The "bootstrap" target now automatically runs through the wrapper
  phase. You no longer have to run "${MAKE} patch" manually.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/ghc7/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ghc7/TODO
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/ghc7/bootstrap.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/ghc7/files/bootstrap.build.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index