pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56697: security/p11-kit requires readlink to build



>Number:         56697
>Category:       pkg
>Synopsis:       security/p11-kit requires readlink to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 07 07:15:00 +0000 2022
>Originator:     Claes Nästén
>Release:        trunk 2022-02-07
>Organization:
>Environment:
SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T2000

>Description:
Building security/p11-kit without readlink available makes p11-kit-proxy.so missing from the installed files.

From meson_post_instal.sh (similar scripting in Makefile.am)

    ln -sf `readlink $MESON_INSTALL_DESTDIR_PREFIX/$libdir/libp11-kit.$i` \
       "$MESON_INSTALL_DESTDIR_PREFIX/$libdir/p11-kit-proxy.$i" || true;

>How-To-Repeat:
Build on a system without readlink in the PATH.
>Fix:
--- a/security/p11-kit/Makefile
+++ b/security/p11-kit/Makefile
@@ -19,7 +19,7 @@ CONFIGURE_ARGS+=      --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem
 GNU_CONFIGURE= yes
 USE_LANGUAGES= c99
 USE_LIBTOOL=   yes
-USE_TOOLS+=        pkg-config
+USE_TOOLS+=  pkg-config readlink
 
 TEST_TARGET=   check
 



Home | Main Index | Thread Index | Old Index