Date: Sun, 20 May 2007 14:30:12 +0200 From: Stefan Ehmann <shoesoft@gmx.net> To: freebsd-ports@freebsd.org Subject: older nvidia version won't build after xorg upgrade Message-ID: <200705201430.12405.shoesoft@gmx.net>
next in thread | raw e-mail | index | archive | help
nvidia-driver-7184 and nvidia-driver-9631 failed to build. Building works after applying the attached patch. Feel free to modify it, if you don't like it. Stefandiff -ruN nvidia-driver.bak/Makefile nvidia-driver/Makefile --- nvidia-driver.bak/Makefile Sat May 19 22:27:07 2007 +++ nvidia-driver/Makefile Sun May 20 14:23:12 2007 @@ -134,8 +134,11 @@ .if ${X_WINDOW_SYSTEM} == "xorg" ${REINPLACE_CMD} -e 's|lib/modules|lib/xorg/modules|' \ ${WRKSRC}/x11/driver/Makefile \ - ${WRKSRC}/x11/extension/Makefile \ - ${WRKSRC}/x11/lib/Makefile + ${WRKSRC}/x11/extension/Makefile +.if ${NVVERSION} >= 9746 + ${REINPLACE_CMD} -e 's|lib/modules|lib/xorg/modules|' \ + ${WRKSRC}/x11/lib/Makefile +.endif .endif ${REINPLACE_CMD} '/bin/d ; /man/d' ${WRKSRC}/x11/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705201430.12405.shoesoft>