forked from Lainports/freebsd-ports
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
- Remove CONFIGURE_TARGET hack in various bsd.*.mk
- USE_GNOME=gnometarget is now an no-op
Changes to individual ports, other than removing the CONFIGURE_TARGET hack:
= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
- comms/gnuradio
- science/abinit
- science/elmer-fem
- science/elmer-matc
- science/elmer-meshgen2d
- science/elmerfront
- science/elmerpost
= use x86_64 as ARCH
- devel/g-wrap
= other changes
- print/magicfilter
GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf
Total # of ports modified: 1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)
PR: 126524 (obsoletes 52917)
Submitted by: rafan
Tested on: two pointyhat 7-amd64 exp runs (by pav)
Approved by: portmgr (pav)
54 lines
1.8 KiB
Makefile
54 lines
1.8 KiB
Makefile
# vim: tabstop=8 softtabstop=0 noexpandtab
|
|
# Ports Makefile for: libRmath
|
|
# Date created: 14 May 2004
|
|
# Whom: Eric van Gyzen <vangyzen@stat.duke.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libRmath
|
|
PORTVERSION= 2.4.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \
|
|
ftp://cran.r-project.org/pub/R/src/base/R-2/ \
|
|
http://cran.at.r-project.org/src/base/R-2/ \
|
|
http://cran.au.r-project.org/src/base/R-2/ \
|
|
http://cran.br.r-project.org/src/base/R-2/ \
|
|
http://cran.ch.r-project.org/src/base/R-2/ \
|
|
http://cran.es.r-project.org/src/base/R-2/ \
|
|
http://cran.dk.r-project.org/src/base/R-2/ \
|
|
http://cran.hu.r-project.org/src/base/R-2/ \
|
|
http://cran.uk.r-project.org/src/base/R-2/ \
|
|
http://cran.us.r-project.org/src/base/R-2/ \
|
|
http://cran.za.r-project.org/src/base/R-2/ \
|
|
ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/R-2/ \
|
|
http://lib.stat.cmu.edu/R/CRAN/src/base/R-2/ \
|
|
http://cran.stat.ucla.edu/src/base/R-2/ \
|
|
http://probability.ca/cran/src/base/R-2/ \
|
|
http://www.ibiblio.org/pub/languages/R/CRAN/src/base/R-2/ \
|
|
http://www.bioconductor.org/CRAN/src/base/R-2/
|
|
DISTNAME= R-${PORTVERSION}
|
|
|
|
MAINTAINER= eric+fbports@vangyzen.net
|
|
COMMENT= The standalone math library from R
|
|
|
|
USE_FORTRAN= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS+=--without-x
|
|
CONFIGURE_ENV+= F77="${F77}"
|
|
|
|
PLIST_FILES= include/Rmath.h lib/libRmath.a lib/libRmath.so lib/libRmath.so.0
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}/src/nmath/standalone; ${MAKE})
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.a ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.so \
|
|
${PREFIX}/lib/libRmath.so.0
|
|
(cd ${PREFIX}/lib; ${LN} -sf libRmath.so.0 libRmath.so)
|
|
|
|
.include <bsd.port.mk>
|