diff options
author | danfe <danfe@FreeBSD.org> | 2012-11-14 22:49:51 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2012-11-14 22:49:51 +0800 |
commit | 278df0d6111d49a90f0cb671e466fe3d8da15f2f (patch) | |
tree | 1f585ce3c59b1eecf1fbb197cc638d4de1cfbe4e | |
parent | 59d3b1c9a914577fa9be2bb55956da2b3dfa3637 (diff) | |
download | freebsd-ports-gnome-278df0d6111d49a90f0cb671e466fe3d8da15f2f.tar.gz freebsd-ports-gnome-278df0d6111d49a90f0cb671e466fe3d8da15f2f.tar.zst freebsd-ports-gnome-278df0d6111d49a90f0cb671e466fe3d8da15f2f.zip |
Conditionalize previous fix, it should only be applied for Xft patch.
Feature safe: yes
-rw-r--r-- | misc/xosd/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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} |