aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-01-07 12:32:42 +0800
committerperky <perky@FreeBSD.org>2003-01-07 12:32:42 +0800
commit2b18836536e0fd545b22dace2af44eba1a509667 (patch)
tree0ff4691313144c524ce59de81922bb7948c4ba93 /net
parentb31d1021a24931bd7d7032462d44552705e4cdde (diff)
downloadfreebsd-ports-gnome-2b18836536e0fd545b22dace2af44eba1a509667.tar.gz
freebsd-ports-gnome-2b18836536e0fd545b22dace2af44eba1a509667.tar.zst
freebsd-ports-gnome-2b18836536e0fd545b22dace2af44eba1a509667.zip
Fix build on -STABLE.
PR: ports/46687 Submitted by: Niclas Sodergard <nickus@nickus.net>, Ivajlo Nikolov <ivailon@mobikom.com>
Diffstat (limited to 'net')
-rw-r--r--net/kmess/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/kmess/Makefile b/net/kmess/Makefile
index 21c7f75421a5..6e61b2039ba6 100644
--- a/net/kmess/Makefile
+++ b/net/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>