Skip to content
Snippets Groups Projects
Commit aa1da009 authored by baptiste daroussin's avatar baptiste daroussin
Browse files

x11/nvidia-driver: prevent dependencies non exiting 32bits compat.

Since pkg 2.x the dependency on shared libraries have been increased,
in particular we now track 32bits compat libraries.

The nvidia-driver on amd64 provides 32bits libraryes which are linked to
libX11.so.6 itself 32bit, which nothing in the ports tree provide,
meaning orphans dependencies, which results in tools analysing the
dependencies to complain about missing dependencies.

Add a knob to tell pkg to ignore those 32bits compat libraries when
extracting which libraries the package should depend on.
parent ec958948
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,11 @@ LICENSE_FILE= ${WRKSRC}/doc/license.txt
.include "${.CURDIR}/../nvidia-driver/Makefile.version"
.include "${.CURDIR}/../nvidia-driver/Makefile.common"
# the package provides lib32 versions of the libraries, which then depends
# themselves in non existing lib32 libraries, so we don't want the package
# to end up depending on non existing libraries
NO_SHLIB_REQUIRES_GLOB=*:32
# Pull GNU sed(1) for "binary" patching of obj/libglvnd/libEGL.so.1 and
# obj/libEGL_nvidia.so.0 (see below)
.if ${NVVERSION} >= 410.057
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment