pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/R Cleanup of tools paths appearing in installed f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed620532ba9a
branches:  trunk
changeset: 495482:ed620532ba9a
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jun 11 02:37:00 2005 +0000

description:
Cleanup of tools paths appearing in installed files for the new tools
framework.  Bump PKGREVISION.

diffstat:

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

diffs (45 lines):

diff -r 14ef4664b97a -r ed620532ba9a math/R/Makefile
--- a/math/R/Makefile   Fri Jun 10 23:38:00 2005 +0000
+++ b/math/R/Makefile   Sat Jun 11 02:37:00 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2005/06/01 18:03:00 jlam Exp $
+# $NetBSD: Makefile,v 1.69 2005/06/11 02:37:00 markd Exp $
 
 DISTNAME=              R-2.1.0
+PKGREVISION=           1
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_R_CRAN:=base/R-2/}
 
@@ -45,9 +46,9 @@
 CONFIGURE_ENV+=                ac_cv_lib_blas_dgemm=yes
 CONFIGURE_ENV+=                ac_cv_lib_blas_dgemm_=yes
 
-# Pass the Fortran compiler to the configure script in case it's overridden
-# by the package builder.
-#
+CONFIGURE_ENV+=                GETWD=${TOOLS_PWD_CMD:Q}
+CONFIGURE_ENV+=                lt_cv_path_LD=${LD:Q}
+
 USE_LANGUAGES=         c fortran
 
 # Package assumes it can append to files (specifically DESCRIPTION) that have
@@ -77,19 +78,6 @@
 R_LIBDIR=              ${PREFIX}/lib/R
 R_INSTALL_DIRS=                ${R_LIBDIR}
 
-# R does ugly things in the configure to get the default list of
-# arguments for linking Fortran and exposes the buildlink directory
-# in various files and scripts that will later be installed, so clean
-# up after configure is complete.
-#
-SUBST_CLASSES+=                fix-R
-SUBST_STAGE.fix-R=     post-configure
-SUBST_MESSAGE.fix-R=   ${SUBST_MESSAGE.unwrap}
-SUBST_FILES.fix-R=     etc/Makeconf src/scripts/R.sh src/scripts/f77
-SUBST_SED.fix-R=       ${SUBST_SED.unwrap}                             \
-                       -e "s|${BUILDLINK_DIR}/|${LOCALBASE}/|g"        \
-                       -e "s|${BUILDLINK_X11_DIR}/|${X11BASE}/|g"
-
 BUILDLINK_DEPENDS.zlib+= zlib>=1.2.1
 
 .if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)



Home | Main Index | Thread Index | Old Index