Skip to content
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

Update tilp from 1.18 to 1.19 #2497

Merged
merged 6 commits into from
Jul 31, 2018
Merged

Update tilp from 1.18 to 1.19 #2497

merged 6 commits into from
Jul 31, 2018

Conversation

uberhacker
Copy link
Collaborator

@uberhacker uberhacker commented Jul 31, 2018

Fixes #2498.

@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018

#2489 not #2498

@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018

@uberhacker, can't you just use different delimeters with sed, such as colons instead of slashes? Then you could just sed out /usr/bin/getent with #{CREW_PREFIX}/bin/getent? It would take up less space and be less of a hack, plus it works.

@uberhacker
Copy link
Collaborator Author

@JL2210: Yes, but it won't work in this instance. The install script is poorly written and doesn't allow overrides. Actually, my fix is not much of a hack at all. It just allows for the LIBDIR override.

@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018

Also, you can get a versioned tarball from their SourceForge page: https://sourceforge.net/projects/tilp/files

@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018

My second one worked just fine. But I closed it in favor of yours, because you seem to know what you're doing.

@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018

This doesn't need to be clogging up this PR. I'll talk to you on the user group.

@uberhacker
Copy link
Collaborator Author

Actually, I'm not removing anything. All I'm doing is wrapping the LIBDIR logic with an if statement so it overrides that section if the environment variable is set. Nice find on the sourceforge.net project. Does it handle the dependencies needed also?

@skiman6010 skiman6010 merged commit b56bf2b into chromebrew:master Jul 31, 2018
@JL2210
Copy link
Contributor

JL2210 commented Jul 31, 2018 via email

@debrouxl
Copy link

Well, I'm not against fixing the upstream user install script, if there's a good reason for it ;)
It already allows overriding SRCDIR and PREFIX (the latter is then passed to autotools, as it should be). The LIBDIR section could easily be made conditional to the LIBDIR environment variable being empty, like SRCDIR and PREFIX are already handled.

You don't need the SF.net project: using releases is a bad idea, the versions in the Git repositories on Github (and now Gitlab, which is mirroring them) always contain fixes and improvements.

@uberhacker
Copy link
Collaborator Author

Github repo? Do you have a url?

@debrouxl
Copy link

debrouxl commented Jul 31, 2018

See install_tilp.sh: https://github.com/debrouxl/tilibs , https://github.com/debrouxl/tilp_and_gfm .
Unless I'm misunderstanding what you're asking for ?

@uberhacker uberhacker deleted the update-tilp-package branch September 6, 2018 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants