pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/swill



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sun Sep 18 07:46:09 UTC 2016

Modified Files:
        pkgsrc/www/swill: distinfo
Added Files:
        pkgsrc/www/swill/patches: patch-configure

Log Message:
Make it accept --without-mpi. Fixes build.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/swill/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/swill/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/swill/distinfo
diff -u pkgsrc/www/swill/distinfo:1.8 pkgsrc/www/swill/distinfo:1.9
--- pkgsrc/www/swill/distinfo:1.8       Mon Aug 15 19:53:52 2016
+++ pkgsrc/www/swill/distinfo   Sun Sep 18 07:46:09 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2016/08/15 19:53:52 wiz Exp $
+$NetBSD: distinfo,v 1.9 2016/09/18 07:46:09 dholland Exp $
 
 SHA1 (swill-0.3-fafde7646c39bfc3b30521dbcda9efaa94396b0e.tar.gz) = 1628126f9629b1cf78a1e8d8b7bb0296b9085e9c
 RMD160 (swill-0.3-fafde7646c39bfc3b30521dbcda9efaa94396b0e.tar.gz) = d422a9999ea1168f116d95ec5be60ab24966988b
@@ -8,3 +8,4 @@ SHA1 (patch-Makefile.in) = eedb76e89aee7
 SHA1 (patch-Source_Objects_Makefile.in) = 963125eb9edc293a34923f818ec1472f44d5beb2
 SHA1 (patch-Source_Objects_base_c) = ac8d6bee14f6db5bdbe38c33b6e0d46fc457a12b
 SHA1 (patch-Source_SWILL_Makefile.in) = 5b39b5292a3ae19c7a3e636027c91f828ee3edf1
+SHA1 (patch-configure) = 1b4de9ad20b1682eb29e157dde61443f45cf744b

Added files:

Index: pkgsrc/www/swill/patches/patch-configure
diff -u /dev/null pkgsrc/www/swill/patches/patch-configure:1.1
--- /dev/null   Sun Sep 18 07:46:09 2016
+++ pkgsrc/www/swill/patches/patch-configure    Sun Sep 18 07:46:09 2016
@@ -0,0 +1,37 @@
+$NetBSD: patch-configure,v 1.1 2016/09/18 07:46:09 dholland Exp $
+
+Handle --without-mpi instead of using the resulting "no" as a path and
+also in that case make it not probe for mpi headers.
+
+--- configure.orig     2016-01-16 13:37:22.000000000 +0000
++++ configure
+@@ -1322,6 +1322,10 @@ else
+   MPIINCLUDE=
+ fi
+ 
++if [ "x$MPIPACKAGE" = xno ]; then
++  unset MPIPACKAGE
++fi
++
+ #AC_ARG_WITH(mpilib,[  --with-mpilib=PATH      Set location of MPI library directory],[MPILIB="-L$withval"], [MPILIB=])
+ 
+ echo $ac_n "checking for MPI configuration""... $ac_c" 1>&6
+@@ -1365,6 +1369,9 @@ fi
+ #  fi
+ 
+ echo $ac_n "checking for MPI header files""... $ac_c" 1>&6
++if [ "x${with_mpi}" = xno ]; then
++  echo "disabled" 1>&6
++else
+ echo "configure:1369: checking for MPI header files" >&5
+ if test -z "$MPIINCLUDE"; then
+ cat > conftest.$ac_ext <<EOF
+@@ -1404,7 +1411,7 @@ fi
+ 
+ #AC_SUBST(MPILIB)
+ 
+-
++fi # "x${with_mpi}" != xno
+ 
+ 
+ ########################################################################



Home | Main Index | Thread Index | Old Index