aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rtfx
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-07-29 22:53:55 +0800
committervanilla <vanilla@FreeBSD.org>2004-07-29 22:53:55 +0800
commit46c2cb9ffd4e13a5f56b9ace53c9056b9250367c (patch)
tree190ed8a10c34c657c7cfa229755ba6aeb4368c8d /textproc/rtfx
parent1d9d5ae5f352fc8b5d5dde564ab9f1faf4d50920 (diff)
downloadfreebsd-ports-gnome-46c2cb9ffd4e13a5f56b9ace53c9056b9250367c.tar.gz
freebsd-ports-gnome-46c2cb9ffd4e13a5f56b9ace53c9056b9250367c.tar.zst
freebsd-ports-gnome-46c2cb9ffd4e13a5f56b9ace53c9056b9250367c.zip
Fix building on 4.x.
Submitted by: maintainer via #bsdchat
Diffstat (limited to 'textproc/rtfx')
-rw-r--r--textproc/rtfx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/rtfx/Makefile b/textproc/rtfx/Makefile
index c1ff42c24397..8a2914e2ffa7 100644
--- a/textproc/rtfx/Makefile
+++ b/textproc/rtfx/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron
HAS_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
MAN1= rtfx.1
@@ -24,6 +25,8 @@ MAN1= rtfx.1
.if ${OSVERSION} <= 500035
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src::domhelpers.h-gcc295
+post-patch:
+ @${REINPLACE_CMD} -e "s/ //g" ${WRKSRC}/src/xmlcomposer.cpp
.endif
.include <bsd.port.post.mk>