1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Unbreak on 7.X where sed(1) does not support "addr1,+N" ranges yet (was added

by brian@ in SVN r192732 on 2009-05-25).

Reported by:	erwinmail
Pointy hat to:	danfe (for not running 7.X tinderbuild)
This commit is contained in:
Alexey Dokuchaev 2012-02-11 09:11:02 +00:00
parent 01224a523a
commit dd04f6bf09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290913

View File

@ -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}