Date: Sun, 3 Apr 2011 20:20:01 GMT From: Steve Wills <swills@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156158: [PATCH] update devel/rubygem-ffi to work with Ruby 1.9 Message-ID: <201104032020.p33KK1ac068156@red.freebsd.org> Resent-Message-ID: <201104032020.p33KK8AS089369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156158 >Category: ports >Synopsis: [PATCH] update devel/rubygem-ffi to work with Ruby 1.9 >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: Sun Apr 03 20:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: >Organization: >Environment: >Description: devel/rubygem-ffi has PLIST issues with Ruby 1.9. The attached patch should fix it. >How-To-Repeat: >Fix: See attached Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/rubygem-ffi/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 9 Dec 2010 23:15:40 -0000 1.4 +++ Makefile 20 Mar 2011 17:02:53 -0000 @@ -18,9 +18,13 @@ USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +.include <bsd.port.pre.mk> + +.if ${RUBY_VER} == 1.8 PLIST_FILES= ${GEM_LIB_DIR}/ext/ffi_c/libffi/include/ffitarget.h \ ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi.so \ ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi.la \ ${GEM_LIB_DIR}/ext/ffi_c/libffi/.libs/libffi_convenience.la +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104032020.p33KK1ac068156>