One more try with racadm, pretty please?

"Dan Mahoney (ports)" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Folks,

I'm still trying to get my racadm port working.  It all works, but racadm needs to find an SSL library and it asks you to create a symlink if it doesn't find one, it only looks in a very specific directory, or it prints an error.

There's just something weird about how the ${RLN} macro works in the makefiles, with ${LINUXBASE}

I need to link:

/compat/linux/opt/dell/srvadmin/lib64/openmanage/private/libssl.so <http://libssl.so/> 
to 
/compat/linux/usr/lib64/libssl.so.3.2.2

The macro in the makefile makes this:

../../../../../../../../../../../../../../../compat/linux/usr/lib64/libssl.so.3.2.2, which breaks the linuxulator, even though it resolves.

1) Can someone who understands the linuxulator better than me tell me why it can't follow this many ../../?

2) Can someone tell me if it's acceptable to just create this link as part of the post-install?  (Or just tell the user to create it?)  If I do this, it won't be in the packing list, but at least the thing will work.

or

3) Can someone who understands makefiles and port vars better than me tell me how to use the RLN macro create this so it's sane?

Here's the misbehaving line:

do-install:
        cd ${WRKSRC}; ${CP} -pR * ${STAGEDIR}${PREFIX}
        ${RLN} ${LINUXBASE}/lib64/libssl.so.3 ${STAGEDIR}${PREFIX}/opt/dell/srvadmin/lib64/openmanage/private/libssl.so

You can grab my current port skeleton at: https://users.isc.org/~dmahoney/racadm.tar.gz

Thanks,

-Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.