ports/162298: [PATCH] devel/rubygem-json*: Fix ruby-iconv dependency
TAKATSU Tomonari
tota at FreeBSD.org
Fri Nov 4 19:40:11 UTC 2011
>Number: 162298
>Category: ports
>Synopsis: [PATCH] devel/rubygem-json*: Fix ruby-iconv dependency
>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: Fri Nov 04 19:40:09 UTC 2011
>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:
- Fix ruby-iconv dependency because USE_RUBY_FEATURES is not
available after "pre-makefile section"
I notice this issue while we discuss ports/162269.
Port maintainer (ruby at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- rubygem-json-1.6.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-json/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile 27 Oct 2011 03:02:49 -0000 1.22
+++ Makefile 3 Nov 2011 21:48:17 -0000
@@ -20,7 +20,8 @@
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.9
-USE_RUBY_FEATURES= iconv
+BUILD_DEPENDS+= ${DEPEND_RUBY_ICONV}
+RUN_DEPENDS+= ${DEPEND_RUBY_ICONV}
.endif
.include <bsd.port.post.mk>
--- rubygem-json-1.6.1_1.patch ends here ---
--- rubygem-json_pure-1.6.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/rubygem-json_pure/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 27 Oct 2011 03:02:49 -0000 1.16
+++ Makefile 4 Nov 2011 19:20:14 -0000
@@ -7,6 +7,7 @@
PORTNAME= json_pure
PORTVERSION= 1.6.1
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -22,7 +23,8 @@
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.9
-USE_RUBY_FEATURES= iconv
+BUILD_DEPENDS+= ${DEPEND_RUBY_ICONV}
+RUN_DEPENDS+= ${DEPEND_RUBY_ICONV}
.endif
.include <bsd.port.post.mk>
--- rubygem-json_pure-1.6.1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list