Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 14:44:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350130 - in head/math: R libR
Message-ID:  <201404041444.s34EijxR035110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Apr  4 14:44:45 2014
New Revision: 350130
URL: http://svnweb.freebsd.org/changeset/ports/350130
QAT: https://qat.redports.org/buildarchive/r350130/

Log:
  Support stage
  Strip libR.a

Modified:
  head/math/R/Makefile
  head/math/libR/Makefile

Modified: head/math/R/Makefile
==============================================================================
--- head/math/R/Makefile	Fri Apr  4 14:40:39 2014	(r350129)
+++ head/math/R/Makefile	Fri Apr  4 14:44:45 2014	(r350130)
@@ -71,7 +71,6 @@ OPTIONS_DEFAULT+=	ICU PCRE_PORT THREADS
 .if !defined(LIBR_SLAVEPORT)
 RUN_DEPENDS+=		${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
 USE_LDCONFIG=		${PREFIX}/lib/R/lib
-NO_STAGE=	yes
 #now only used to build the R.1 manpage:
 USES+=			perl5
 USE_PERL5=		build
@@ -351,12 +350,12 @@ do-build:
 	${MAKE_ARGS} Makefile Makedeps libR.a)
 
 do-install:
-	@${MKDIR} ${PREFIX}/lib/R/lib
-	@${INSTALL_DATA} ${WRKSRC}/src/main/libR.a ${PREFIX}/lib/R/lib
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/R/lib
+	@${INSTALL_LIB} ${WRKSRC}/src/main/libR.a ${STAGEDIR}${PREFIX}/lib/R/lib
 
 .else # LIBR_SLAVEPORT
 
-pre-configure-script:
+pre-configure:
 	@${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) -delete
 
 check regression-test test: build

Modified: head/math/libR/Makefile
==============================================================================
--- head/math/libR/Makefile	Fri Apr  4 14:40:39 2014	(r350129)
+++ head/math/libR/Makefile	Fri Apr  4 14:44:45 2014	(r350130)
@@ -12,5 +12,4 @@ PLIST=	${.CURDIR}/pkg-plist
 PLIST_FILES=	lib/R/lib/libR.a
 PLIST_DIRSTRY=	lib/R/lib lib/R
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404041444.s34EijxR035110>