Permalink
Browse files

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

Feature safe:	yes
  • Loading branch information...
1 parent 59d3b1c commit 278df0d6111d49a90f0cb671e466fe3d8da15f2f danfe committed Nov 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 misc/xosd/Makefile
View
@@ -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}

0 comments on commit 278df0d

Please sign in to comment.