Bug 206920

Summary: x11/nvidia-driver: extra-patch-x11-driver-Makefile
Product: Ports & Packages Reporter: Roberto Fernandez Cueto <roberfern>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: New ---    
Severity: Affects Only Me CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (danfe)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Proposed x11/driver/Makefile none

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 ?