aboutsummaryrefslogtreecommitdiff
path: root/cad/jspice3/files/patch-build
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-03-08 16:03:52 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-03-08 16:03:52 +0000
commit0583db668d4baa1db49a21586834fa621ece154b (patch)
tree79c00eb94ed65ff32adfbb6129b3a5e2b60851ee /cad/jspice3/files/patch-build
parent8f3fa5b03dc486b691c4555bd80ae7cb29659df6 (diff)
downloadports-0583db668d4baa1db49a21586834fa621ece154b.tar.gz
ports-0583db668d4baa1db49a21586834fa621ece154b.zip
Notes
Diffstat (limited to 'cad/jspice3/files/patch-build')
-rw-r--r--cad/jspice3/files/patch-build22
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