[ 
https://issues.apache.org/jira/browse/COUCHDB-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980452#action_12980452
 ] 

Randall Leeds commented on COUCHDB-562:
---------------------------------------

The reason the macro is a conditional set is that it also modifies the help 
text to indicate the variables can be set on the command line to override 
pkg-config.

The pkg-config macros are set up to obsolete the with vars for common cases, 
but in order not to break existing packaging I kept both here and the result, 
as you note, is rather strange.

Technically, pkg-config is only a release dependency, not a build dependency. 
Would you rather just dispose of the --with and change the install 
instructions? Or if we want be nice to packagers we could push this with a 
deprecation note on the with vars and drop a version without with vars later. 
If it's not too aggressive we could do this now with 1.1.x and trunk.

> link couchjs with bound libmozjs
> --------------------------------
>
>                 Key: COUCHDB-562
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-562
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 0.11
>         Environment: linux, ubuntu,debian
>            Reporter: Meno Abels
>             Fix For: 1.2
>
>         Attachments: couchdb-562.patch, couchdb-562_2.patch, 
> couchdb-562_3.patch, couchdb-mozjs-rpath.patch
>
>
> If you build the couchdb from the source with a prefix set and 
> --with-js-[lib|include] option the resulting couchjs programm in 
> <prefix>/lib/couchdb/bin/couchjs does not know where to find the specified 
> libmozjs.so which was specified in with-js-lib. This causes that quite all 
> test will fail. 
> To fix this the rpath has to setup during the compile. I don't had a look 
> where to do this.
> but a small shell wrapper fix it also
> #!/bin/sh
> LD_LIBRARY_PATH=...  exec $0.orig $@

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to