diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-27 16:34:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-27 16:34:36 +0000 |
commit | 27c42e0d7ecc53f07ec88b6b631329da6e9e0a90 (patch) | |
tree | 9fdd494b7c014ff99701beb5bdcbe2bf3ea50d55 /parallel/pvm3/files | |
parent | ff0341dde13e819ea031c0e298a775d19f302106 (diff) | |
download | pkgsrc-27c42e0d7ecc53f07ec88b6b631329da6e9e0a90.tar.gz |
Add DragonFly support. Fix errno.
Diffstat (limited to 'parallel/pvm3/files')
-rw-r--r-- | parallel/pvm3/files/DRAGONFLY.def | 10 | ||||
-rw-r--r-- | parallel/pvm3/files/DRAGONFLY.m4 | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/parallel/pvm3/files/DRAGONFLY.def b/parallel/pvm3/files/DRAGONFLY.def new file mode 100644 index 00000000000..56ed3b1f1f5 --- /dev/null +++ b/parallel/pvm3/files/DRAGONFLY.def @@ -0,0 +1,10 @@ +ARCHCFLAGS = -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" \ + -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS \ + -DFAKEXDRFLOAT -DSYSERRISCONST +ARCHDLIB = +ARCHDOBJ = +ARCHLIB = -lrpcsvc +HASRANLIB = t +AR = ar +PVM_ARCH = DRAGONFLY +MAKE = make diff --git a/parallel/pvm3/files/DRAGONFLY.m4 b/parallel/pvm3/files/DRAGONFLY.m4 new file mode 100644 index 00000000000..db2fbc14746 --- /dev/null +++ b/parallel/pvm3/files/DRAGONFLY.m4 @@ -0,0 +1,10 @@ +divert(-1) +undefine(`len') +define(`FUNCTION',`$1_') +define(`ARGS',`($1`'undivert(1))') +define(`SAVE',`divert(1)$1`'divert(0)') +define(`STRING_ARG',`$1_ptr`'SAVE(`, $1_len')') +define(`STRING_ARG_DECL',`char * $1_ptr; int $1_len') +define(`STRING_LEN',`$1_len') +define(`STRING_PTR',`$1_ptr') +divert(0) |