aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-01-07 04:32:42 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-01-07 04:32:42 +0000
commit4030e35676f1377d2aea51957c088b6ecc9f4220 (patch)
treec6661731807b63b2deeebe769552010139189025 /net-im
parentba932ba430ff72eb85040789639474930e44c1cf (diff)
downloadports-4030e35676f1377d2aea51957c088b6ecc9f4220.tar.gz
ports-4030e35676f1377d2aea51957c088b6ecc9f4220.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kmess-kde4/Makefile5
-rw-r--r--net-im/kmess/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/net-im/kmess-kde4/Makefile b/net-im/kmess-kde4/Makefile
index 21c7f75421a5..6e61b2039ba6 100644
--- a/net-im/kmess-kde4/Makefile
+++ b/net-im/kmess-kde4/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>
diff --git a/net-im/kmess/Makefile b/net-im/kmess/Makefile
index 21c7f75421a5..6e61b2039ba6 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>