From 278df0d6111d49a90f0cb671e466fe3d8da15f2f Mon Sep 17 00:00:00 2001 From: danfe Date: Wed, 14 Nov 2012 14:49:51 +0000 Subject: 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(-) (limited to 'misc') 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} -- cgit