ports/cad/cider/files/patch-cider1b1_common_conf_defaults
John Marino d96901c320 Stage cad/cider. Mark BROKEN on F10+ caused by bmake
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.
2014-08-18 15:41:36 +00:00

26 lines
898 B
Text

--- cider1b1/common/conf/defaults.orig 1994-01-29 19:21:15 UTC
+++ cider1b1/common/conf/defaults
@@ -99,17 +99,17 @@ OBJ_TOP = $(SYS_DIR)/obj
# identified as and SYSTEM is the name of the per-system definitions
# file listed in the "build" command.
-SIM_DIR = $(TOP2)
-SPICE_DIR = $(SIM_DIR)/spice/$(SYSTEM)
-CIDER_DIR = $(SIM_DIR)/cider/$(SYSTEM)
-SPICE_LIB_DIR = $(SPICE_DIR)/lib
-CIDER_LIB_DIR = $(SPICE_DIR)/lib
+SIM_DIR = ${PREFIX}
+SPICE_DIR = $(SIM_DIR)
+CIDER_DIR = $(SIM_DIR)
+SPICE_LIB_DIR = $(SPICE_DIR)/share/spice3
+CIDER_LIB_DIR = $(SPICE_DIR)/share/cider
SPICE_EXEC_DIR = $(SPICE_DIR)/bin
CIDER_EXEC_DIR = $(CIDER_DIR)/bin
S_CIDER_DIR = $(CIDER_DIR)
S_SPICE_DIR = $(SPICE_DIR)
-S_CIDER_LIB_DIR = $(S_SPICE_DIR)/lib
+S_CIDER_LIB_DIR = $(S_SPICE_DIR)/share/cider
S_CIDER_EXEC_DIR= $(S_CIDER_DIR)/bin
# INSTALL_DIRS lists the directories that need to be created before