summaryrefslogtreecommitdiffstats
path: root/net-im/kmess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/kmess/Makefile')
-rw-r--r--net-im/kmess/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-im/kmess/Makefile b/net-im/kmess/Makefile
index 21c7f75..6e61b20 100644
--- a/net-im/kmess/Makefile
+++ b/net-im/kmess/Makefile
@@ -15,8 +15,13 @@ MAINTAINER= perky@FreeBSD.org
USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
+pre-patch:
+ ${REINPLACE_CMD} -e '22s/^.*$$/#include <unistd.h>/' \
+ ${WRKSRC}/kmess/kmessview.cpp
+
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud