aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/rsibreak-kde4/Makefile8
-rw-r--r--x11/rsibreak/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/x11/rsibreak-kde4/Makefile b/x11/rsibreak-kde4/Makefile
index 09a9c435cdd..41b84fb773d 100644
--- a/x11/rsibreak-kde4/Makefile
+++ b/x11/rsibreak-kde4/Makefile
@@ -19,8 +19,14 @@ USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Doesn't compile on FreeBSD 4.X
+.endif
+
post-patch:
@${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \
${WRKSRC}/rsibreak/Makefile.in ${WRKSRC}/rsibreak/src/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11/rsibreak/Makefile b/x11/rsibreak/Makefile
index 09a9c435cdd..41b84fb773d 100644
--- a/x11/rsibreak/Makefile
+++ b/x11/rsibreak/Makefile
@@ -19,8 +19,14 @@ USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Doesn't compile on FreeBSD 4.X
+.endif
+
post-patch:
@${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \
${WRKSRC}/rsibreak/Makefile.in ${WRKSRC}/rsibreak/src/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>