Stopped futzing around with trying to make "sed" work with OS-X and
instead just revised the configure script to autodetect "gsed" vs.
"sed" and preferably use the former.
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index 224fe92..71af99c 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -154,6 +154,7 @@
# This Makefile contains bash-isms
SHELL = bash
MV = mv
+SED = @SED@
# Use git revision if this is a cloned repo; otherwise get the revision
# from the VERSION file in the directory above.
@@ -629,11 +630,9 @@
# Re-copy the xschemrc, with one change to add the PDK install path as
# a component of XSCHEM_LIBRARY_PATH
cat ${XSCHEM_PATH}/xschemrc | \
- sed -e "/PWD/a\
- append XSCHEM_LIBRARY_PATH :${XSCHEM_STAGING_A}" | \
- sed -e "/sky130_models.tcl/s#scripts#${XSCHEM_STAGING_A}/scripts#" | \
- sed -e "/netlist_dir/a\
- set netlist_dir ." \
+ ${SED} -e "/PWD/aappend XSCHEM_LIBRARY_PATH :${XSCHEM_STAGING_A}" | \
+ ${SED} -e "/sky130_models.tcl/s#scripts#${XSCHEM_STAGING_A}/scripts#" | \
+ ${SED} -e "/netlist_dir/aset netlist_dir ." \
> ${XSCHEM_STAGING_A}/xschemrc
openlane-a: openlane/common_pdn.tcl openlane/config.tcl openlane/sky130_fd_sc_hd/config.tcl openlane/sky130_fd_sc_hs/config.tcl openlane/sky130_fd_sc_ms/config.tcl openlane/sky130_fd_sc_ls/config.tcl openlane/sky130_fd_sc_hdll/config.tcl openlane/sky130_osu_sc_t18/config.tcl