diff options
-rw-r--r-- | math/R/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/R/Makefile b/math/R/Makefile index 8d0792564094..04539b2c78f8 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -8,7 +8,7 @@ PORTNAME?= R PORTVERSION= 2.14.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math lang MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \ ftp://cran.r-project.org/pub/R/src/base/R-2/ \ @@ -234,6 +234,10 @@ post-patch: ${WRKSRC}/src/extra/tzone/tzfile.h \ ${WRKSRC}/src/scripts/javareconf .if !defined(LIBRMATH_SLAVEPORT) +.if defined(WITH_PCRE_PORT) + @${REINPLACE_CMD} -e 's|_pcre_valid_utf8|_pcre_valid_utf|' \ + ${WRKSRC}/src/main/util.c +.endif .if defined(WITHOUT_NLS) @(cd ${WRKSRC}/src/library/Recommended; \ for tarfile in *.tgz *.tar.gz ; do \ |