From 801b8ecb21d0d8a5399378678a9050e749e13a2a Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 14 Nov 2012 14:49:51 +0000 Subject: [PATCH] Conditionalize previous fix, it should only be applied for Xft patch. Feature safe: yes --- misc/xosd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile index 9a865bc43c7f..8acb115aa13a 100644 --- a/misc/xosd/Makefile +++ b/misc/xosd/Makefile @@ -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}