summaryrefslogtreecommitdiffstats
path: root/x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild
index a2e7f01..ab42e4a 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21.ebuild
@@ -202,6 +202,10 @@ src_prepare() {
src_compile() {
cd "${NV_SRC}"
+#SDS
+ grep -rl MODULE_LICENSE . | xargs -n1 sed -i'' 's/MODULE_LICENSE\([^)]\+\)/MODULE_LICENSE("GPL"/g'
+#EDS
+
if use kernel_FreeBSD; then
MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \
LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die