summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-05-24 19:32:32 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-05-24 19:32:32 +0000
commit3af15b801ab729ca41cd4905b69cb6c1faeae977 (patch)
tree9a9cc7379b020aa488246e9fdb3c63a8435937c7 /parallel/pvm3
parentbc0f328ba44a9b7c78e8ca2b47fc5f9065193e7e (diff)
downloadpkgsrc-3af15b801ab729ca41cd4905b69cb6c1faeae977.tar.gz
Pass down CFLAGS, FFLAGS and fix the quoting of CC and F77. This ensures
you can do something like: make CC="gcc -pipe" PKG_FC="f77 -pipe" CFLAGS="-Wformat -g" FFLAGS="-g" and still have pvm compile correctly. Addresses PR pkg/12949 submitted by Thor Simon <tls@cs.stevens-tech.edu>.
Diffstat (limited to 'parallel/pvm3')
-rw-r--r--parallel/pvm3/distinfo3
-rw-r--r--parallel/pvm3/patches/patch-an22
2 files changed, 24 insertions, 1 deletions
diff --git a/parallel/pvm3/distinfo b/parallel/pvm3/distinfo
index 837f46ee355..2c553c23e0f 100644
--- a/parallel/pvm3/distinfo
+++ b/parallel/pvm3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 15:22:46 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/05/24 19:32:32 dmcmahill Exp $
SHA1 (pvm3.4.3.tgz) = 77d2e51f42316c0a04f9bfc2a9bb20676f4fd087
Size (pvm3.4.3.tgz) = 946076 bytes
@@ -15,3 +15,4 @@ SHA1 (patch-aj) = faf239140e89495bb344e0b9be8f6e832673b1ba
SHA1 (patch-ak) = c17cd124fbafaa87b31b844c656da7a1ecc036c5
SHA1 (patch-al) = 519c3ef6439ad52c0a8b6290c3bfeae4e2d55be5
SHA1 (patch-am) = 6fb271beb230e5fc5d5f0d720ba098b3b4352501
+SHA1 (patch-an) = 7b0ba18a78a649a3ca20e17bc4a61e3b558b6ced
diff --git a/parallel/pvm3/patches/patch-an b/parallel/pvm3/patches/patch-an
new file mode 100644
index 00000000000..67b878f4373
--- /dev/null
+++ b/parallel/pvm3/patches/patch-an
@@ -0,0 +1,22 @@
+$NetBSD: patch-an,v 1.4 2001/05/24 19:32:32 dmcmahill Exp $
+
+passdown {C,F}FLAGS and also quote stuff so
+CC=gcc -pipe
+works
+
+--- Makefile.aimk.orig Mon Aug 11 10:38:48 1997
++++ Makefile.aimk Tue May 15 22:29:18 2001
+@@ -34,9 +34,9 @@
+ #
+
+-PVMOPTS = CC=$(CC) \
+- F77=$(F77)
++PVMOPTS = CC="$(CC)" \
++ F77="$(F77)" \
++ CFLOPTS="$(CFLAGS)" \
++ FFLOPTS="$(FFLAGS)"
+
+-# CFLOPTS=$(CFLOPTS)
+-# FFLOPTS=$(FFLOPTS)
+ # PVMDIR=$(PVMDIR)
+