diff options
Diffstat (limited to 'cad/jspice3/files/patch-build')
-rw-r--r-- | cad/jspice3/files/patch-build | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cad/jspice3/files/patch-build b/cad/jspice3/files/patch-build index 9fd79ecfdc13..5e5068c493c5 100644 --- a/cad/jspice3/files/patch-build +++ b/cad/jspice3/files/patch-build @@ -1,6 +1,6 @@ ---- build.orig Tue May 1 13:37:12 2001 -+++ build Sat Nov 25 00:38:47 2006 -@@ -22,7 +22,7 @@ +--- build.orig 2015-11-05 18:10:02 UTC ++++ build +@@ -22,7 +22,7 @@ if [ -d conf/unixconf ]; then echo '#######################################################################'> conf/mkheader.in echo '####### Makefile generated by build script ############################'>> conf/mkheader.in echo VERSION = $version>> conf/mkheader.in @@ -9,16 +9,16 @@ echo '#######################################################################'>> conf/mkheader.in cat conf/unixconf/mkheader.0 >> conf/mkheader.in else -@@ -43,7 +43,7 @@ +@@ -51,7 +51,7 @@ if [ -f conf/util/configure ]; then + if [ `uname -s` = Darwin -a -d /opt/X11 ]; then + util/configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib -srcdir . + else +- util/configure -srcdir . ++ util/configure --prefix=${PREFIX} --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib -srcdir . + fi - if [ -f conf/util/configure ]; then - cd conf -- util/configure -srcdir . -+ util/configure -srcdir . --prefix=${PREFIX} -x-includes="${LOCALBASE}/include" -x-libraries="${LOCALBASE}/lib" if [ ! -f ../src/include/config.h ] || \ - [ "`diff config.h ../src/include/config.h |head`" ]; then - echo Installing config.h -@@ -92,8 +92,14 @@ +@@ -102,8 +102,14 @@ if [ -f conf/mkheader ]; then fi echo Creating makefiles in the subdirectories... $makeprog make |