mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 15:50:33 -04:00
This port generates a makefile and then passes it to "make" via stdin, which makes it different to troubleshoot. When I finally saw the file in order to figure out why several internal static libraries weren't getting built leading to some programs not getting built, I saw a generic static library target made up of variables. fmake likes it; bmake does not. I tried USES+= fmake along with some patching but I must have missed some hardcoded "make" commands because bmake got called again. This software is 20 years old so I finally gave it. It got a stay of execution by getting staged. If somebody wants to study a target that bmake just doesn't get, this is a good place to start.
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
--- cider1b1/common/src/bin/makeops.orig 1994-03-08 03:39:12 UTC
|
|
+++ cider1b1/common/src/bin/makeops
|
|
@@ -19,14 +19,14 @@ $(CIDER_EXEC_DIR):
|
|
mkdir $(CIDER_EXEC_DIR)
|
|
|
|
cider.o: main.c $(SYS_CONF)/$(OBJECTIVE)-cc
|
|
- $(CC) -c $(CFLAGS) $(INCLUDE) -DSIMULATOR $(SRC_DIR)/main.c $(ASM_HACK)
|
|
+ $(REAL_CC) -c $(REAL_CFLAGS) $(INCLUDE) -DSIMULATOR $(SRC_DIR)/main.c $(ASM_HACK)
|
|
mv -f main.o $@
|
|
|
|
conf.o: conf.c
|
|
- $(CC) $(CFLAGS) $(INCLUDE) -c conf.c $(ASM_HACK)
|
|
+ $(REAL_CC) $(REAL_CFLAGS) $(INCLUDE) -c conf.c $(ASM_HACK)
|
|
|
|
$(TUNEFILE).o: $(TUNEFILE).c
|
|
- $(CC) $(CFLAGS) $(INCLUDE) -c $(TUNEFILE).c $(ASM_HACK)
|
|
+ $(REAL_CC) $(REAL_CFLAGS) $(INCLUDE) -c $(TUNEFILE).c $(ASM_HACK)
|
|
|
|
conf.c: config.c $(SYS_CONF)/$(OBJECTIVE)
|
|
@echo Creating "$@":
|
|
@@ -66,7 +66,7 @@ LIBCDR = $(NULIB)/dev.a $(NULIB)/input.a
|
|
cider: cider.o conf.o $(TUNEFILE).o $(OBJCDR) $(LIBBEFS) $(LIBCDR) $(LIBAFTS) \
|
|
$(SYS_CONF)/$(OBJECTIVE)-ld
|
|
-@rm -f cider
|
|
- $(CC) -o $@ cider.o conf.o $(TUNEFILE).o $(OBJCDR) \
|
|
+ $(REAL_CC) -o $@ cider.o conf.o $(TUNEFILE).o $(OBJCDR) \
|
|
$(LIBBEFS) $(LIBCDR) $(LIBAFTS) $(LIBTCGMSG) $(LIBX) $(LDFLAGS)
|
|
|
|
qcider: qcider.tpl $(SYS_CONF)/$(OBJECTIVE)
|