Conditionalize previous fix, it should only be applied for Xft patch.

Feature safe:	yes
This commit is contained in:
Alexey Dokuchaev 2012-11-14 14:49:51 +00:00
parent ee606cb7b5
commit 801b8ecb21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307418

View file

@ -74,9 +74,10 @@ post-patch:
${WRKSRC}/src/xmms_plugin/Makefile.in
@${REINPLACE_CMD} -e 's,specified time,& (${DELAY_UNITS}),' \
${WRKSRC}/src/osd_cat.c
# Unbreak against Clang
.if ${PORT_OPTIONS:MXFT} # unbreak against Clang
@${REINPLACE_CMD} -e '52s,^,void xosd_xypos(xosd *osd);,' \
${WRKSRC}/src/libxosd/xosd.c
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}