-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix libsass build for SmartOS #1782
Conversation
* Use ginstall rather than install for INSTALL variable * unset `SEC` because it was being used elsewhere * Use namespacing where there were complaints
Thinking about this a bit more, the proper way to install it would be to set PREFIX to be |
CC ?= gcc | ||
CXX ?= g++ | ||
RM ?= rm -f | ||
CP ?= cp -a | ||
MKDIR ?= mkdir | ||
MKDIR ?= mkdir -p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there have previously been discussion regard the portability of -p
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove this, I added it by accident when tinkering.
Ah, okay. Well we can fix it by specifying a proper PREFIX for SmartOS then. |
I'll stay subscribed to this PR, so just holler and I'm willing to make any changes and re-push. |
Fixed in latest commit, and properly set PREFIX, which was the original need for the |
Great thanks. Give the scope of the changes I'm happy to merge this when CI is happy. |
I guess the Makefile stuff depends on how much OS-specific stuff you want; as you say you can use |
Ah crap, I went and basically wrote this exact same PR :) patiently waiting for a pull on this one now. |
Two questions:
|
Makes sense to me. Should be its own PR though. |
Should I remove the Makefile changes so this PR can merge? I'm fine either On Sunday, December 20, 2015, Michael Mifsud notifications@github.com
|
@jaredmorrow can you answer @saper's question?
We want to get Makefile compatible with SmartOS. If manual intervention is required then we're not really supporting SmartOS. |
I'm ok with merging this the community can start compiling LibSass from master. I've created #1802 to track prefixing constants. |
SEC
because it was being used elsewhereAddresses: #1308
Things I still needed to do to get npm to install node-sass
in libsass:
For npm:
I don't know where this should be documented, but I thought I'd throw it in there for anyone else who might happen to hit this issue.
Fixes #1308