ports/cad/cider/files/patch-spice3f5_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

18 lines
651 B
Text

--- spice3f5/common/conf/defaults.orig 1994-01-29 19:15:53 UTC
+++ spice3f5/common/conf/defaults
@@ -105,12 +105,12 @@ OBJ_TOP = $(SYS_DIR)/obj
# identified as and SYSTEM is the name of the per-system definitions
# file listed on the "build" command line.
-SPICE_DIR = $(TOP1)/$(SYSTEM)
-SPICE_LIB_DIR = $(SPICE_DIR)/lib
+SPICE_DIR = ${PREFIX}
+SPICE_LIB_DIR = $(SPICE_DIR)/share/spice3
SPICE_EXEC_DIR = $(SPICE_DIR)/bin
S_SPICE_DIR = $(SPICE_DIR)
-S_SPICE_LIB_DIR = $(S_SPICE_DIR)/lib
+S_SPICE_LIB_DIR = $(S_SPICE_DIR)/share/spice3
S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
# INSTALL_DIRS lists the directories that need to be created before