Annotation of pkgsrc/parallel/mpi-ch/options.mk, Revision 1.3
1.3 ! adam 1: # $NetBSD: options.mk,v 1.2 2013/04/15 21:40:17 adam Exp $
1.1 asau 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.mpich
1.3 ! adam 4: PKG_SUPPORTED_OPTIONS= debug f90 mpich-mpd threads
1.1 asau 5: PKG_SUGGESTED_OPTIONS= threads
6:
7: .include "../../mk/bsd.options.mk"
8:
1.3 ! adam 9: PLIST_VARS+= f90 mpd
! 10:
1.1 asau 11: .if !empty(PKG_OPTIONS:Mdebug)
12: CONFIGURE_ARGS+= --enable-g=debug # problems
13: INSTALL_UNSTRIPPED= yes
14: .endif
15:
1.3 ! adam 16: .if !empty(PKG_OPTIONS:Mf90)
! 17: USE_LANGUAGES+= fortran
! 18: PLIST.f90= yes
! 19: .else
! 20: USE_LANGUAGES+= fortran77
! 21: CONFIGURE_ARGS+= --disable-fc
! 22: .endif
! 23:
1.1 asau 24: .if !empty(PKG_OPTIONS:Mthreads)
25: CONFIGURE_ARGS+= --with-thread-package=posix # aka pthreads
26: .include "../../mk/pthread.buildlink3.mk"
27: .endif
28:
29: # Allow coexistance of MPICH2 and musicpd by disabling MPICH2 parts:
30: .if !empty(PKG_OPTIONS:Mmpich-mpd)
1.2 adam 31: CONFLICTS+= musicpd-[0-9]* # installs bin/mpd
32: CONFIGURE_ARGS+= --with-pm=hydra:mpd:gforker
33: CONFIGURE_ARGS+= --with-python=python${PYVERSSUFFIX}
1.3 ! adam 34: PLIST.mpd= yes
1.1 asau 35: REPLACE_PYTHON+= src/pm/mpd/*.py src/pm/mpd/test/*.py
36: .include "../../lang/python/application.mk"
37: .endif
CVSweb <webmaster@jp.NetBSD.org>