Re: extracting pkg-message for FreshPorts
- In reply to: Dan Langille : "Re: extracting pkg-message for FreshPorts"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Aug 2021 20:54:12 UTC
Dan Langille wrote on 2021/08/11 08:33: > [dan@empty:/usr/ports/x11/nvidia-driver-390] $ ls -l /var/ports/usr/ports/x11/nvidia-driver-390/work/pkg-message > -rw-r--r-- 1 root wheel 1808 Aug 10 22:31 /var/ports/usr/ports/x11/nvidia-driver-390/work/pkg-message > >> Is there a better way? > Yes, there is. make apply-slist > > From IRC came that suggestion, which, oddly enough, I was originally using before heading down this rabbit hole. > > [root@empty /usr/ports/x11/nvidia-driver-390]# make apply-slist > /bin/sh: cannot create /var/ports/usr/ports/x11/nvidia-driver-390/work/pkg-message: No such file or directory > *** Error code 2 > > Stop. > make: stopped in /usr/ports/x11/nvidia-driver-390 > [root@empty /usr/ports/x11/nvidia-driver-390]# > > > Nope. That won't work. The _PORTS_DIRECTORIES directory seems to have a target that executes mkdir. I think the following is also possible... I'm just thinking :) make -C /usr/ports/x11/nvidia-driver-390 `make -C /usr/ports/x11/nvidia-driver-390 -V EXTRACT_WRKDIR` apply-slist