Skip to content

Commit

Permalink
Fixed problem that libsass.so could not be found:
Browse files Browse the repository at this point in the history
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)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@502865 35697150-7ecd-e111-bb59-0022644237b5
  • Loading branch information
mfechner committed May 28, 2019
1 parent 17abd18 commit fce05e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions textproc/rubygem-sassc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= sassc
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG

Expand All @@ -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>

0 comments on commit fce05e1

Please sign in to comment.