-e "s#\\[\\[GHC_SOURCE_PATH\\]\\]#`${PWD_CMD}`#g" $$i > $$i.tmp; \
${MV} -f $$i.tmp $$i; \
done && \
- ${TOUCH} -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk && \
+ ${TOUCH} -r inplace/lib/package.conf.d \
+ */*/package-data.mk \
+ */*/*/package-data.mk \
+ compiler/stage?/build/Config.hs && \
${TOUCH} ${.TARGET}
${WRKDIR}/stamp-bootstrap-ghc: ${WRKDIR}/stamp-rewrite-hc-paths
Build some configuration files::
$ cd ghc-{VERSION}-target
- $ ln -s /bin/pwd utils/ghc-pwd/ghc-pwd
$ ./configure --enable-hc-boot
$ echo "INTEGER_LIBRARY = integer-simple" > mk/build.mk
$ gmake bootstrapping-files
Copy some configuration files from the ``-target`` tree::
- $ cp ../ghc-{VERSION}-target/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} includes/
+ $ cp -r ../ghc-{VERSION}-target/includes/dist-{ghcconstants,derivedconstants} includes/
+ $ cp ../ghc-{VERSION}-target/includes/ghcautoconf.h includes/
Build it::