diff options
author | flz <flz@FreeBSD.org> | 2007-05-20 22:01:22 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2007-05-20 22:01:22 +0800 |
commit | 31b51df345cdccfa543cb8079dcca302a5a29bb7 (patch) | |
tree | 44e53bf74c2cb51446f20a9690472f5dfece2f4e | |
parent | 8a645205e5a83f9a90fdb634c737fdd0af6b6895 (diff) | |
download | freebsd-ports-gnome-31b51df345cdccfa543cb8079dcca302a5a29bb7.tar.gz freebsd-ports-gnome-31b51df345cdccfa543cb8079dcca302a5a29bb7.tar.zst freebsd-ports-gnome-31b51df345cdccfa543cb8079dcca302a5a29bb7.zip |
Fix legacy nvidia-drivers.
Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Approved by: portmgr (pav), maintainer (implicit)
-rw-r--r-- | x11/nvidia-driver/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index f247e879474a..9fcb7d8bc6ac 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -134,8 +134,11 @@ post-patch: .SILENT .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 |