FreeBSD Bugzilla – Attachment 172359 Details for
Bug 210987
math/libR maintainer: Convert to standalone port, Mark Un'BROKEN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff to fix math/libR
libR-3.3.1_2.diff (text/plain), 7.54 KB, created by
Joseph Mingrone
on 2016-07-10 21:37:52 UTC
(
hide
)
Description:
svn diff to fix math/libR
Filename:
MIME Type:
Creator:
Joseph Mingrone
Created:
2016-07-10 21:37:52 UTC
Size:
7.54 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 418342) >+++ Makefile (working copy) >@@ -1,16 +1,173 @@ > # Created by: bf <bf@FreeBSD.org> > # $FreeBSD$ > >-PORTNAME= libR >+PORTNAME= libR >+PORTVERSION= 3.3.1 >+PORTREVISION= 2 >+CATEGORIES= math lang >+MASTER_SITES= http://cran.r-project.org/%SUBDIR%/ \ >+ ftp://cran.r-project.org/pub/R/%SUBDIR%/ \ >+ http://cran.at.r-project.org/%SUBDIR%/ \ >+ http://cran.au.r-project.org/%SUBDIR%/ \ >+ http://cran.br.r-project.org/%SUBDIR%/ \ >+ http://cran.ch.r-project.org/%SUBDIR%/ \ >+ http://cran.es.r-project.org/%SUBDIR%/ \ >+ http://cran.dk.r-project.org/%SUBDIR%/ \ >+ http://cran.uk.r-project.org/%SUBDIR%/ \ >+ http://cran.us.r-project.org/%SUBDIR%/ \ >+ ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/%SUBDIR%/ \ >+ http://lib.stat.cmu.edu/R/CRAN/%SUBDIR%/ \ >+ http://cran.stat.ucla.edu/%SUBDIR%/ \ >+ http://probability.ca/cran/%SUBDIR%/ >+MASTER_SITE_SUBDIR= src/base/R-${PORTVERSION:C|\..*||} >+DISTNAME= R-${DISTVERSION}${DISTVERSIONSUFFIX} > >-COMMENT= The static libR library from R >+MAINTAINER= jrm@ftfl.ca >+COMMENT= Static libR library from R > >-DESCR= ${.CURDIR}/pkg-descr >-LIBR_SLAVEPORT= yes >-MASTERDIR= ${.CURDIR}/../R >-PLIST= ${.CURDIR}/pkg-plist >-PLIST_FILES= lib/R/lib/libR.a >+LICENSE= GPLv2 > >-BROKEN= Transient breakage while restructuring the master port >+LIB_DEPENDS= libcurl.so:ftp/curl \ >+ libpcre.so:devel/pcre > >-.include "${MASTERDIR}/Makefile" >+PLIST_FILES= lib/R/lib/libR.a >+ >+GNU_CONFIGURE= yes >+USES= fortran iconv objc:compiler perl5 readline >+USE_PERL5= build >+USE_LDCONFIG= ${PREFIX}/lib/R/lib >+CONFIGURE_ARGS= --enable-memory-profiling --enable-R-static-lib \ >+ --disable-BLAS-shlib --without-cairo --disable-java \ >+ --without-jpeglib --without-pic --without-libpng \ >+ --without-tcltk --without-libtiff --without-x \ >+ rdocdir=${DOCSDIR} >+INSTALL_TARGET= install-strip >+ >+OPTIONS_DEFINE= DOCS LDOUBLE LTO MISSING NLS OPENMP >+ >+OPTIONS_SINGLE= BLAS >+OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NETLIB RBLAS >+ >+ATLAS_DESC= ATLAS BLAS implementation >+LDOUBLE_DESC= Enable long double data type >+LTO_DESC= Try to produce faster code through LTO >+MISSING_DESC= Use libmissing rather than libquadmath >+NETLIB_DESC= Netlib BLAS implementation >+OPENBLAS_DESC= OpenBLAS BLAS implementation >+RBLAS_DESC= Use R-bundled BLAS implementation >+ >+OPTIONS_DEFAULT= OPENBLAS >+ >+ATLAS_USES= blaslapack:atlas >+ATLAS_VARS= MANUAL_PACKAGE_BUILD="Choose a BLAS option other than ATLAS for package building." >+ >+ICU_CONFIGURE_WITH= ICU >+ICU_LIB_DEPENDS= libicui18n.so:devel/icu >+ >+LDOUBLE_CONFIGURE_ENABLE=long-double >+ >+LTO_CONFIGURE_ENABLE= lto >+ >+.for i in acos asin atan cos cosh exp log pow sin sinh tan tanh >+MISSING_CONFIGURE_ENV+= ac_cv_have_decl_c${i}=yes >+.endfor >+MISSING_LIB_DEPENDS= libmissing.so:math/libmissing >+MISSING_VARS= LIBM="-L${LOCALBASE}/lib -lmissing -lm" \ >+ LIBMH=<missing_math.h> >+MISSING_VARS_OFF= LIBM='-lquadmath -lm' \ >+ LIBMH=<quadmath.h> >+ >+NETLIB_USES= blaslapack:netlib >+ >+OPENBLAS_USES= blaslapack:openblas >+ >+OPENMP_CONFIGURE_ENABLE=openmp >+ >+NLS_CONFIGURE_OFF= --disable-nls >+NLS_USES= gettext >+ >+.for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI >+CONFIGURE_ENV+= ac_cv_path_${i}="" >+.endfor >+ >+RBLAS_CONFIGURE_ON= --without-blas \ >+ --without-lapack >+RBLAS_CONFIGURE_OFF= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ >+ --with-lapack="${LAPACKLIB}" >+ >+.include "compiler.mk" >+.include <bsd.port.options.mk> >+ >+.if ${OSVERSION} > 1000052 && \ >+(${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == ia64 || ${ARCH} == pc98 || \ >+${ARCH} == sparc64) >+.for i in coshl erfcl erfl lgammal powl sinhl tanhl tgammal >+CFLAGS+= -fno-builtin-${i} >+LDFLAGS+= -fno-builtin-${i} >+.endfor >+.endif >+ >+post-patch: >+.if !${PORT_OPTIONS:MMISSING} >+.if ${OSVERSION} < 1000016 >+ @${REINPLACE_CMD} -e \ >+'s/# define EXP expl/# define EXP(x) (long double)expq((__float128)(x))/' \ >+ ${WRKSRC}/src/nmath/pnchisq.c \ >+ ${WRKSRC}/src/nmath/pgamma.c >+ @${REINPLACE_CMD} -e \ >+'s/# define LOG logl/# define LOG(x) (long double)logq((__float128)(x))/' \ >+ ${WRKSRC}/src/nmath/pnchisq.c \ >+ ${WRKSRC}/src/nmath/pgamma.c >+.endif >+.if ${OSVERSION} < 1000034 >+ @${REINPLACE_CMD} -Ee 's/(log)(1p)?l\(/(long double)\1\2q((__float128)/'\ >+ ${WRKSRC}/src/nmath/dnbeta.c \ >+ ${WRKSRC}/src/nmath/pnbeta.c >+.endif >+ @${REINPLACE_CMD} -Ee \ >+'s/powl\((.*)(long double)/(long double)powq((__float128)\1__float128/' \ >+ ${WRKSRC}/src/main/format.c >+.else # !PORT_OPTIONS:MMISSING >+.if ${OSVERSION} > 1000052 && \ >+(${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == ia64 || ${ARCH} == pc98 || \ >+${ARCH} == sparc64) >+ @${REINPLACE_CMD} -e '\|^FLIBS="$$ac_cv_f77_libs"|s|"|&${LIBM} |' \ >+ ${WRKSRC}/configure >+.endif >+ @${REINPLACE_CMD} -e \ >+'\|#[[:blank:]]*include[[:blank:]]*<complex.h>|{x;s|^.*$$|#include "missing_complex.h"|;H;x;}' \ >+ ${WRKSRC}/src/main/complex.c >+.endif # !PORT_OPTIONS:MMISSING >+ @${REINPLACE_CMD} -e \ >+'\|#[[:blank:]]*include[[:blank:]]*<math.h>|{x;s|^.*$$|#include ${LIBMH}|;H;x;}'\ >+ ${WRKSRC}/src/nmath/nmath.h \ >+ ${WRKSRC}/src/include/Rmath.h0.in >+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\ >+ ${WRKSRC}/src/nmath/standalone/Makefile.in \ >+ ${WRKSRC}/src/unix/Makefile.in >+ @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \ >+ ${WRKSRC}/configure \ >+ ${WRKSRC}/src/library/profile/Rprofile.unix \ >+ ${WRKSRC}/src/scripts/javareconf.in >+ >+.if !${PORT_OPTIONS:MMISSING} >+pre-configure: >+ @if [ ! -f ${_GCC_RUNTIME}/libquadmath.a ] ; then \ >+ IGNORE="\n\n\n%s\n\n\n" "libquadmath is not available for your\ >+ compiler and architecture: please enable the MISSING option."; \ >+ fi >+.endif >+ >+do-build: >+.for d in include extra >+ @(cd ${WRKSRC}/src/${d}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ >+ ${MAKE_ARGS} R) >+.endfor >+ @(cd ${WRKSRC}/src/main; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ >+ ${MAKE_ARGS} Makefile Makedeps libR.a) >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/R/lib >+ ${INSTALL_DATA} ${WRKSRC}/src/main/libR.a ${STAGEDIR}${PREFIX}/lib/R/lib >+ >+.include <bsd.port.mk> >Index: compiler.mk >=================================================================== >--- compiler.mk (revision 0) >+++ compiler.mk (working copy) >@@ -0,0 +1,2 @@ >+# Compiler settings required for R and the R-cran ports. >+USE_GCC= yes > >Property changes on: compiler.mk >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: distinfo >=================================================================== >--- distinfo (revision 0) >+++ distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1468110440 >+SHA256 (R-3.3.1.tar.gz) = 3dc59ae5831f5380f83c169bac2103ad052efe0ecec4ffa74bde4d85a0fda9e2 >+SIZE (R-3.3.1.tar.gz) = 29848329 > >Property changes on: distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 418342) >+++ pkg-descr (working copy) >@@ -1,5 +1,4 @@ >-This is the static libR library from R -- a language and >-environment for statistical computing and graphics. >-See ports/math/R. >+This is the static libR library from R, a language and environment for >+statistical computing and graphics. See the math/R port. > > WWW: http://www.R-project.org/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jrm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 210987
:
172357
| 172359