Bug 206920 - x11/nvidia-driver: extra-patch-x11-driver-Makefile
Summary: x11/nvidia-driver: extra-patch-x11-driver-Makefile
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
Depends on:
Reported: 2016-02-04 11:31 UTC by Roberto Fernandez Cueto
Modified: 2020-04-25 15:03 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (danfe)

Proposed x11/driver/Makefile (563 bytes, text/plain)
2016-02-04 11:31 UTC, Roberto Fernandez Cueto
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Fernandez Cueto 2016-02-04 11:31:23 UTC
Created attachment 166554 [details]
Proposed x11/driver/Makefile

I have notice that the patch mentioned on the summary could not be installed or staged when the LOCALBASE environment is set to a non default value and the PREFIX is set to /usr/local.

Reading the ports(7) documentation, the LOCALBASE variable is used to search for files when resolving dependencies and the PREFIX one should be used for the installation of the port.

This is the command I ran:
env PKG_DBDIR=/opt/Bintree/BallyBSD1.i386/var/db/pkg PORT_DBDIR=/opt/Bintree/BallyBSD1.i386/var/db/ports PREFIX=/usr/local LOCALBASE=/opt/Bintree/BallyBSD1.i386 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/Bintree/BallyBSD1.i386/bin:/opt/Bintree/BallyBSD1.i386/sbin WITH_CCACHE_BUILD=1 WITH_SSP_PORTS=1 CCACHE_DIR=/opt/Bintree/BallyBSD1.i386/var/db/ports/ccache make clean stage

I have attached a proposed ${WRKSRC}/x11/driver/Makefile
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-09 15:22:18 UTC
Maintainer feedback ?
Comment 2 Gleb Popov freebsd_committer 2020-04-25 15:03:46 UTC
From what I can tell, this is not relevant anymore, because the port stopped using ".if exists(somefile)" check.

I'll close it for now, but feel free to report back if I'm mistaken.