summaryrefslogtreecommitdiff
path: root/cad/spice/files/patch-conf_defaults
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-19 03:13:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-19 03:13:48 +0000
commit43801110c646ef25f3baa85796b629a83c545120 (patch)
tree76e9f483a855c61a3d3be02455d23d486ffc43f7 /cad/spice/files/patch-conf_defaults
parentPR: (diff)
1. REAL cleaning on this port. The files dir is now organized so the
port can be maintained: previously there were multifile patches and several patches for the same file, now it is a lot cleaner. 2. I also merged a memory leak fix and some fixes from spice3f5-spaghetti. 4. MFB and removed GNUREADLINE support 5. honor CFLAGS and CC. 6. Add documentation. 7. Maho didn't change the name of port spice to spice3. because spice4 might :) appear in the future. version number should be listed on *only* PORTVERSION. 8. drom maintainership PR: 54603 Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
Diffstat (limited to 'cad/spice/files/patch-conf_defaults')
-rw-r--r--cad/spice/files/patch-conf_defaults45
1 files changed, 45 insertions, 0 deletions
diff --git a/cad/spice/files/patch-conf_defaults b/cad/spice/files/patch-conf_defaults
new file mode 100644
index 000000000000..22608904f2d1
--- /dev/null
+++ b/cad/spice/files/patch-conf_defaults
@@ -0,0 +1,45 @@
+--- conf/defaults.orig Thu Jul 17 16:40:51 2003
++++ conf/defaults Thu Jul 17 16:51:19 2003
+@@ -65,7 +65,7 @@
+ # the following definition:
+ # SYS_DIR = $(DIST_DIR)
+
+-SYS_DIR = $(TOP1)/$(SYSTEM)
++SYS_DIR = $(TOP0)/$(SYSTEM)
+
+ # OBJ_TOP is the directory in which intermidiate files reside
+ # These are ".o" files, synthesized ".c" files, ".a" files,
+@@ -105,12 +105,12 @@
+ # 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/spice
+ 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/spice
+ S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
+
+ # INSTALL_DIRS lists the directories that need to be created before
+@@ -133,7 +133,7 @@
+
+ # CC_OPT: Default compile options (optimization/debug level, other)
+
+-CC_OPT = -O
++CC_OPT =
+
+ # CC_OPT_SAFE: Special compile options to override CC_OPT for code
+ # which typically causes problems for most compilers (bsim1 and bsim2).
+@@ -203,7 +203,7 @@
+ # X_DIR indicates the top of the X11 lib/include hierarchy; it is only
+ # a convenience that is used in the following definitions.
+
+-X_DIR = /usr
++X_DIR = ${X11BASE}
+
+ # INCX lists the X include directories. This may be different between
+ # MIT X11r5, X11r4, and your vendor's version of X11, though listing