- Depend on xz on older systems to fix plist (streamer/xz plugin)

Reported by:	pointyhat
This commit is contained in:
Pav Lucistnik 2010-11-03 21:43:39 +00:00
parent a1475ffafc
commit 999c5e4e75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263996

View file

@ -72,6 +72,10 @@ CONFIGURE_ARGS+= --disable-system-avcodec
PLIST_SUB+= AVCODEC="@comment "
.endif
.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/|${LOCALBASE}/|g ; \