diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-02-11 09:11:02 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-02-11 09:11:02 +0000 |
commit | dd04f6bf09c327c950da93baeaf93e4a1106b0e1 (patch) | |
tree | f197fd3f7e32284860b54918cafe001d6abd59cb /x11 | |
parent | 01224a523af1cd0cb797dc4453bfe7f87c16edd2 (diff) | |
download | ports-dd04f6bf09c327c950da93baeaf93e4a1106b0e1.tar.gz ports-dd04f6bf09c327c950da93baeaf93e4a1106b0e1.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 969cf872332f..7ba8681b75ef 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -174,7 +174,11 @@ post-install: .SILENT # Some applications need this symlink (see PR ports/72877) ${LN} -sf libXvMCNVIDIA.so.1 ${PREFIX}/lib/libXvMCNVIDIA_dynamic.so.1 .if ${NVVERSION} >= 1952200 +. if ${OSVERSION} > 800090 ${REINPLACE_CMD} -e '/does not support PAE/,+1d' ${PKGMESSAGE} +. else # when sed(1) does not support "addr1,+N" ranges, use line numbers + ${REINPLACE_CMD} -e '26,27d' ${PKGMESSAGE} +. endif .endif ${ECHO_MSG} ${CAT} ${PKGMESSAGE} |