ports/165460: [PATCH] Set MAKE_ENV before R_INS PORTNAME
TAKATSU Tomonari
tota at FreeBSD.org
Sat Feb 25 01:20:11 UTC 2012
>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 at therub.org, naylor.b.david at gmail.com, wen at 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:
More information about the freebsd-ports-bugs
mailing list