Apply one more portability patch from Dan McMahill
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 29 Jan 2010 02:51:11 +0000 (02:51 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 29 Jan 2010 02:51:11 +0000 (02:51 +0000)
commit98dd63d3a01b185e4b71aea8cb401e1fc91a32d8
treebd8464ee5165c7cd7254afb6f00d5df9410841f8
parentf42087159ab322eae4a1c7c09082ce60083c8aeb
Apply one more portability patch from Dan McMahill

patch-ae -- $$(command) is ok with bash and ksh but is not portable to
            all /bin/sh implementations.  Also instead of hard coding
            "apxs2" use the APXS2 variable which was set during the
             configure process. This is especially helpful when the
             binary is installed as apxs instead of apxs2.

             Finally, remove the DEF_LDLIBS from the apxs2 compilation/link
             line.  As near as I can tell this only removed -lopensrf which
             is ok because we already had libopensrf.so explicitly listed.
             Including -lopensrf didn't work correctly since libopensrf
             had been built but not yet installed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Dan McMahill <dmcmahill@NetBSD.org>
git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/rel_1_2@1908 9efc2488-bf62-4759-914b-345cdb29e865
src/gateway/Makefile.am