summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-07-11 01:57:00 +0000
committerobache <obache@pkgsrc.org>2008-07-11 01:57:00 +0000
commite2f7ed377b91e3e60e12b6991e64904b32cb5283 (patch)
tree4153d31417fd37bcc1592e6e5ba60786cf58b465 /parallel/mpi-ch/Makefile
parent8c54dd7a0a2302eab642bfa9f3248816e596a134 (diff)
downloadpkgsrc-e2f7ed377b91e3e60e12b6991e64904b32cb5283.tar.gz
Add missing dependency on X11. Based on maintainer's PR 39107.
Fixes build failure with X11_TYPE=native. While here, bin/mpdroot marked as special perms. Bump PKGREVISION.
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r--parallel/mpi-ch/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index 66c28a8ce71..1e949e1d2fb 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2008/05/29 20:25:53 tnn Exp $
+# $NetBSD: Makefile,v 1.56 2008/07/11 01:57:00 obache Exp $
DISTNAME= mpich2-1.0.7
+PKGREVISION= 1
CATEGORIES= parallel
MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/
@@ -34,12 +35,16 @@ CONF_FILES+= share/${PKGBASE}/examples/mpe_callstack_ldflags.conf \
${PKG_SYSCONFDIR}/mpe_callstack_ldflags.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_f77env.conf \
${PKG_SYSCONFDIR}/mpe_f77env.conf
+CONF_FILES+= share/${PKGBASE}/examples/mpe_graphics.conf \
+ ${PKG_SYSCONFDIR}/mpe_graphics.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_help.conf \
${PKG_SYSCONFDIR}/mpe_help.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_log.conf \
${PKG_SYSCONFDIR}/mpe_log.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_log_postlib.conf \
${PKG_SYSCONFDIR}/mpe_log_postlib.conf
+CONF_FILES+= share/${PKGBASE}/examples/mpe_mpianim.conf \
+ ${PKG_SYSCONFDIR}/mpe_mpianim.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_mpicheck.conf \
${PKG_SYSCONFDIR}/mpe_mpicheck.conf
CONF_FILES+= share/${PKGBASE}/examples/mpe_mpilog.conf \
@@ -55,5 +60,12 @@ CONF_FILES+= share/${PKGBASE}/examples/mpicxx.conf \
CONF_FILES+= share/${PKGBASE}/examples/mpif77.conf \
${PKG_SYSCONFDIR}/mpif77.conf
+SPECIAL_PERMS+= bin/mpdroot ${SETUID_ROOT_PERMS}
+
.include "../../lang/python/application.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.if !defined(_X11_BUILDLINK3_MK)
+CONFIGURE_ARGS+= --x-includes=${BUILDLINK_PREFIX.libX11}/include
+CONFIGURE_ARGS+= --x-libraries=${BUILDLINK_PREFIX.libX11}/lib
+.endif
.include "../../mk/bsd.pkg.mk"