Changes between Initial Version and Version 1 of Ticket #64996, comment 2
- Timestamp:
- Apr 13, 2022, 2:56:50 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64996, comment 2
initial v1 1 So I am running into two different errors now. If I retain previously existing post-patch to Makefile, then I get the following:1 I don't get why it can't find the header in this specific instance. The path is `src/runtime/Kernel/newmacros.h`: 2 2 3 3 {{{ … … 18 18 }}} 19 19 20 If I remove the patch, then compilation terminates early with:20 P. S. Portfile post-patch does more that needed, apparently. This is enough to fix target error: 21 21 22 22 {{{ 23 ---> Building nhc98 24 Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22" && /usr/bin/make -j4 -w all 25 make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22' 26 make: *** No rule to make target `basic-gcc', needed by `all-gcc'. Stop. 23 --- Makefile.orig 2010-02-20 17:21:37.000000000 +0800 24 +++ Makefile 2022-04-13 10:34:37.000000000 +0800 25 @@ -207,7 +207,7 @@ 26 prelude hsc2hs libraries 27 basic-ghc: $(PRAGMA) runtime hmake-ghc greencard-ghc compiler-ghc cpphs \ 28 prelude hsc2hs libraries 29 -basic-$(CC): runtime prelude-$(CC) pragma-$(CC) cpphs-$(CC) \ 30 +basic-$(BUILDCOMP): runtime prelude-$(CC) pragma-$(CC) cpphs-$(CC) \ 31 greencard-$(CC) hmake-$(CC) hsc2hs-$(CC) package-deps-$(CC) \ 32 compiler-$(CC) libraries-$(CC) 33 27 34 }}} 28 29 P. S. Post-patch in question:30 31 {{{32 post-patch {33 reinplace "s|-\$(CC)|-\${BUILDCOMP}|g" ${worksrcpath}/Makefile34 }35 }}}