Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2012 10:13:37 +0900 (JST)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wen@FreeBSD.org, naylor.b.david@gmail.com, drue@therub.org
Subject:   ports/165460: [PATCH] Set MAKE_ENV before R_INS PORTNAME
Message-ID:  <201202250113.q1P1DbYO025351@rtfm.jp>
Resent-Message-ID: <201202250120.q1P1KAQQ073044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165460
>Category:       ports
>Synopsis:       [PATCH] Set MAKE_ENV before R_INS PORTNAME
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 25 01:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     TAKATSU Tomonari
>Release:        FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
none (private)
>Environment:
System: FreeBSD photon.local.lan 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
>Description:
Set MAKE_ENV variable before R_INS PORTNAME in bsd.cran.mk
to be able to set parameters CFLAGS, CPPFLAGS, LDFLAGS, etc.
For example, this patch makes installable "R_INS rtiff" which
is upcoming and can be found in
http://redports.org/browser/tota/graphics/R-cran-rtiff .

Port maintainers (drue@therub.org, naylor.b.david@gmail.com, wen@FreeBSD.org)
are cc'd.

>How-To-Repeat:
>Fix:

--- bsd.cran.mk.patch begins here ---
Index: bsd.cran.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.cran.mk,v
retrieving revision 1.10
diff -u -r1.10 bsd.cran.mk
--- bsd.cran.mk	15 Nov 2011 20:08:55 -0000	1.10
+++ bsd.cran.mk	21 Feb 2012 20:08:08 -0000
@@ -39,7 +39,7 @@
 
 do-install:
 .if defined(USE_R_MOD)
-	@cd ${WRKDIR} && ${R_INS} ${PORTNAME}
+	@cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} ${R_INS} ${PORTNAME}
 .endif
 
 .if defined(USE_R_MOD) && defined(R_MOD_AUTOPLIST)
--- bsd.cran.mk.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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