FreeBSD has different pkg-config dir: /usr/local/libdata/#110
FreeBSD has different pkg-config dir: /usr/local/libdata/#110ViralBShah merged 1 commit intoJuliaMath:masterfrom
Conversation
There was a problem hiding this comment.
This isn't needed AFAIK. All variables can be overridden already.
There was a problem hiding this comment.
Oh. ok i will remove it 😄
|
Out of curiosity, do you have any references about |
|
@nalimilan Oh... We can find an example here: libzmq have For the project which do not support it yet, we are encouraged to report to upstream. Or, we will make a patch for |
|
OK. |
|
(But, really, this sounds like a heroic stance from FreeBSD people to decide to patch all upstream projects for a detail like that... :-) |
|
(Ha. BTW. There is still lots of project using bash script with |
|
renaming done. |
There was a problem hiding this comment.
Please keep the default as $(libdir)/pkgconfig.
There was a problem hiding this comment.
Oops. sorry for that
There was a problem hiding this comment.
You should move this code above, and use it instead of the unconditional definition. Also, use $(libdir) as I said above, since people may override it.
There was a problem hiding this comment.
hmm... you mean merge this if block in to the previous if block ?
There was a problem hiding this comment.
No, I mean move this to the first place where you define pkgconfigdir.
There was a problem hiding this comment.
Oh, place it after line 15?
and... i try to understand your statement: "use it instead of the unconditional definition".
Would you explain more? I cannot follow your thinking right now.
2483e1d to
4dfdcd0
Compare
|
Thanks, LGTM. @ViralBShah Good to go? |
|
@nalimilan Thanks for your patient reviewing. :) |
|
This looks okay to me |
FreeBSD has different pkg-config dir: /usr/local/libdata/
Also, let the
prefixbe configurable from outside(e.gmake prefix=/path) .