svn commit: r502865 - head/textproc/rubygem-sassc
Matthias Fechner
mfechner at FreeBSD.org
Tue May 28 08:38:05 UTC 2019
Author: mfechner
Date: Tue May 28 08:38:04 2019
New Revision: 502865
URL: https://svnweb.freebsd.org/changeset/ports/502865
Log:
Fixed problem that libsass.so could not be found:
LoadError: Could not open library
'/usr/local/lib/ruby/gems/2.5/gems/sassc-2.0.1/ext/libsass/lib/libsass.so':
Cannot open
"/usr/local/lib/ruby/gems/2.5/gems/sassc-2.0.1/ext/libsass/lib/libsass.so"
/usr/local/www/gitlab-ce/config/application.rb:5:in `<top (required)>'
/usr/local/www/gitlab-ce/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Submitted by: partly be swills@
Approved by: ruby@ (swills)
Modified:
head/textproc/rubygem-sassc/Makefile
Modified: head/textproc/rubygem-sassc/Makefile
==============================================================================
--- head/textproc/rubygem-sassc/Makefile Tue May 28 08:18:44 2019 (r502864)
+++ head/textproc/rubygem-sassc/Makefile Tue May 28 08:38:04 2019 (r502865)
@@ -3,6 +3,7 @@
PORTNAME= sassc
PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@@ -15,10 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= rubygem-rake>=0:devel/rubygem-rake
RUN_DEPENDS= rubygem-ffi>=1.9.6:devel/rubygem-ffi \
rubygem-rake>=0:devel/rubygem-rake
+LIB_DEPENDS= libsass.so:textproc/libsass
USES= gem gmake
USE_RUBY= yes
NO_ARCH= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|#{gem_root}/ext/libsass|${LOCALBASE}|g' ${WRKSRC}/lib/sassc/native.rb
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list