From be993b89e3d8d24e08a084fcdd5a3c7851ce9b22 Mon Sep 17 00:00:00 2001
From: markd <markd>
Date: Thu, 26 Sep 2002 05:36:48 +0000
Subject: INSTALL_DIRS -> R_INSTALL_DIRS to not conflict with the variable
 introduced in bsd.pkg.mk revision 1.1045.  Fixes pkg/18332

---
 math/R/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'math/R')

diff --git a/math/R/Makefile b/math/R/Makefile
index 15cba516c73..ada9761c670 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2002/09/23 13:41:15 markd Exp $
+# $NetBSD: Makefile,v 1.39 2002/09/26 05:36:48 markd Exp $
 
 DISTNAME=		R-1.5.1
 CATEGORIES=		math
@@ -66,7 +66,7 @@ INSTALL_SCRIPT=		${INSTALL} ${COPY} -m ${BINMODE}
 
 PLIST_SRC=		${WRKDIR}/.PLIST_SRC
 R_LIBDIR=		${PREFIX}/lib/R
-INSTALL_DIRS=		${R_LIBDIR}
+R_INSTALL_DIRS=		${R_LIBDIR}
 
 # R does ugly things in the configure to get the default list of arguments
 # for linking Fortran, which exposes the buildlink2 tricks so clean up
@@ -91,7 +91,7 @@ post-install:
 	${RM} -f ${PLIST_SRC}
 	${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
 	( cd ${PREFIX};							\
-	  for dir in ${INSTALL_DIRS}; do				\
+	  for dir in ${R_INSTALL_DIRS}; do				\
 		${FIND} $${dir#${PREFIX}/} \( -type f -o -type l \) -print; \
 	  done;								\
 	) | ${GREP} -v "lib/R/doc/html/packages.html" |			\
@@ -100,7 +100,7 @@ post-install:
 	${ECHO} "@unexec ${RM} -f %D/lib/R/doc/html/packages.html" >> ${PLIST_SRC}
 	${ECHO} "@unexec ${RM} -f %D/lib/R/doc/html/search/index.txt" >> ${PLIST_SRC}
 	( cd ${PREFIX};							\
-	  for dir in ${INSTALL_DIRS}; do				\
+	  for dir in ${R_INSTALL_DIRS}; do				\
 		${FIND} $${dir#${PREFIX}/} -type d -print;		\
 	  done;								\
 	) | ${SORT} -ur | ${SED} -e "s|^|@dirrm |" >> ${PLIST_SRC}
-- 
cgit v1.2.3