ports/156158: [PATCH] update devel/rubygem-ffi to work with Ruby 1.9
Steve Wills
swills at FreeBSD.org
Sun Apr 3 20:20:08 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list