PDA

View Full Version : Little bug at 169.04/169.07


yarodin
12-22-07, 02:01 AM
===> x11 (all)
"Makefile", line 4: Unassociated shell command "lib"
make: fatal errors encountered -- cannot continue
*** Error code 1

cat NVIDIA-FreeBSD-x86-169.07/x11/Makefile
SUBDIR= driver \
extension
lib \

.include <bsd.subdir.mk>

fix:
SUBDIR= driver \
extension \
lib

.include <bsd.subdir.mk>

Fusselbaer
12-22-07, 11:50 AM
===> x11 (all)
"Makefile", line 4: Unassociated shell command "lib"
make: fatal errors encountered -- cannot continue
*** Error code 1

cat NVIDIA-FreeBSD-x86-169.07/x11/Makefile
SUBDIR= driver \
extension
lib \

.include <bsd.subdir.mk>


imho. this error is from:

/usr/ports/x11/nvidia-driver/Makefile

if used a "hacked Ports-Makefile",
because of the new nvidia-driver-name with only 5 digits for version number
in this part of the /usr/ports/x11/nvidia-driver/Makefile:

.if ${NVVERSION} < 974600
${REINPLACE_CMD} -E 's/(extension).*/\1/' ${WRKSRC}/x11/Makefile
.else
${REINPLACE_CMD} -E 's/(lib).*/\1/' ${WRKSRC}/x11/Makefile
.endif



Greetings, Fusselbaer