diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
commit | f935a609c53c5c6031e6848db95c7debed127e27 (patch) | |
tree | 4c3cf6af6588247c0dd3f92f9601357c33c56217 /science/pnetcdf | |
parent | - Accept --infodir argument in configure script so it won't fail when we (diff) |
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Notes
Notes:
svn path=/head/; revision=196111
Diffstat (limited to 'science/pnetcdf')
-rw-r--r-- | science/pnetcdf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile index f869386bd0b4..38c6962325d8 100644 --- a/science/pnetcdf/Makefile +++ b/science/pnetcdf/Makefile @@ -38,12 +38,12 @@ MAN3= pnetcdf.3 .if defined(WITH_OPENMPI) BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi -CONFIGURE_ARGS= --enable-shared --mandir=${PREFIX}/man --disable-f77 --with-mpi=${PREFIX}/mpi/openmpi +CONFIGURE_ARGS= --enable-shared --disable-f77 --with-mpi=${PREFIX}/mpi/openmpi CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran" .else BUILD_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2 RUN_DEPENDS+= ${LOCALBASE}/mpich2/lib/libmpich.so:${PORTSDIR}/net/mpich2 -CONFIGURE_ARGS= --enable-shared --mandir=${PREFIX}/man --disable-f77 --with-mpi=${PREFIX}/mpich2 +CONFIGURE_ARGS= --enable-shared --disable-f77 --with-mpi=${PREFIX}/mpich2 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran" .endif |