pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R Replace WRAPPER_BINDIR reference with real path...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/479a73dbd123
branches:  trunk
changeset: 639730:479a73dbd123
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 24 10:53:22 2014 +0000

description:
Replace WRAPPER_BINDIR reference with real path in generated file.

diffstat:

 math/R/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1d7f3e8934b4 -r 479a73dbd123 math/R/Makefile
--- a/math/R/Makefile   Wed Sep 24 10:40:57 2014 +0000
+++ b/math/R/Makefile   Wed Sep 24 10:53:22 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.151 2014/07/24 21:33:03 markd Exp $
+# $NetBSD: Makefile,v 1.152 2014/09/24 10:53:22 jperkin Exp $
 
 DISTNAME=              R-3.1.1
 CATEGORIES=            math
@@ -129,6 +129,10 @@
 #BUILD_DEPENDS+=               tex-mptopdf-[0-9]*:../../graphics/tex-mptopdf
 #BUILD_DEPENDS+=               tex-pdftex-def-[0-9]*:../../print/tex-pdftex
 
+SUBST_CLASSES+=                fixwrap
+SUBST_STAGE.fixwrap=   post-build
+SUBST_FILES.fixwrap=   libtool
+SUBST_SED.fixwrap=     -e "s,${WRAPPER_BINDIR}/libtool-fortran,${PKG_LIBTOOL},g"
 
 BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
 BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5



Home | Main Index | Thread Index | Old Index