summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-03-04 15:22:28 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2016-03-04 15:22:28 -0600
commita7b918837eab02ebff5af783d06e56ec7f868d9e (patch)
tree56f84eb136c485d64fc1a102e45e691edf8ff5e5 /var
parent5af543dc4a23ddac51b22b490a511ed71033d2d1 (diff)
downloadspack-a7b918837eab02ebff5af783d06e56ec7f868d9e.tar.gz
spack-a7b918837eab02ebff5af783d06e56ec7f868d9e.tar.bz2
spack-a7b918837eab02ebff5af783d06e56ec7f868d9e.tar.xz
spack-a7b918837eab02ebff5af783d06e56ec7f868d9e.zip
GNU m4 depends on libsigsegv
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libsigsegv/package.py15
-rw-r--r--var/spack/repos/builtin/packages/m4/package.py2
2 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libsigsegv/package.py b/var/spack/repos/builtin/packages/libsigsegv/package.py
new file mode 100644
index 0000000000..4b486198ec
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libsigsegv/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class Libsigsegv(Package):
+ """GNU libsigsegv is a library for handling page faults in user mode."""
+ homepage = "https://www.gnu.org/software/libsigsegv/"
+ url = "ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz"
+
+ version('2.10', '7f96fb1f65b3b8cbc1582fb7be774f0f')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix,
+ '--enable-shared')
+
+ make()
+ make("install")
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py
index 5d76d8866b..3890663ad1 100644
--- a/var/spack/repos/builtin/packages/m4/package.py
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -7,6 +7,8 @@ class M4(Package):
version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76')
+ depends_on('libsigsegv')
+
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()