diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2004-02-22 22:34:16 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2004-02-22 22:34:16 +0000 |
commit | e38319bd4086efbd5e3c5921104049bf1041b824 (patch) | |
tree | ad61e3f270c3e9a95f277d5dba93d2b0821380c4 /net/mpich2/Makefile | |
parent | ada4244510458265880b81c8cc2ec9b16b7a01bb (diff) |
Notes
Diffstat (limited to 'net/mpich2/Makefile')
-rw-r--r-- | net/mpich2/Makefile | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile index 2e76cd13256d..880e5925a8c7 100644 --- a/net/mpich2/Makefile +++ b/net/mpich2/Makefile @@ -17,10 +17,27 @@ COMMENT= Message Passing Interface (MPI) Library PATCH_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/patch/${PORTVERSION:R}/ PATCHFILES= 8713 8697 -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 -BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 -CONFIGURE_ARGS= -cflags="${CFLAGS}" -prefix=${PREFIX}/mpich \ - -mpe_opts="--with-wishloc=wish8.4" +CONFIGURE_ARGS= -cflags="${CFLAGS}" -prefix=${PREFIX}/mpich + +.if defined(WITHOUT_X11) +WITHOUT_TK= yes +CONFIGURE_ARGS+=--disable-mpe_graphics +PLIST_SUB+= X11="@comment " +.else +USE_XLIB= yes +CONFIGURE_ARGS+=--enable-mpe_graphics +PLIST_SUB+= X11="" +.endif + +.if defined(WITHOUT_TK) +CONFIGURE_ARGS+=-mpe_opts="--without-tcldir --without-tkdir --without-wishloc" +PLIST_SUB+= TK="@comment " +.else +RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +BUILD_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +CONFIGURE_ARGS+=-mpe_opts="--with-wishloc=wish8.4" +PLIST_SUB+= TK="" +.endif .if defined(WITHOUT_JAVA) CONFIGURE_ARGS+= --without-java |