aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/bibletime-devel/Makefile8
-rw-r--r--misc/bibletime-kde3/Makefile8
-rw-r--r--misc/bibletime-kde4/Makefile8
-rw-r--r--misc/bibletime/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/misc/bibletime-devel/Makefile b/misc/bibletime-devel/Makefile
index 06126f789199..f647253f0f23 100644
--- a/misc/bibletime-devel/Makefile
+++ b/misc/bibletime-devel/Makefile
@@ -23,8 +23,14 @@ USE_GMAKE= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= fails to compile under FreeBSD 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/bibletime/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/bibletime-kde3/Makefile b/misc/bibletime-kde3/Makefile
index 06126f789199..f647253f0f23 100644
--- a/misc/bibletime-kde3/Makefile
+++ b/misc/bibletime-kde3/Makefile
@@ -23,8 +23,14 @@ USE_GMAKE= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= fails to compile under FreeBSD 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/bibletime/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/bibletime-kde4/Makefile b/misc/bibletime-kde4/Makefile
index 06126f789199..f647253f0f23 100644
--- a/misc/bibletime-kde4/Makefile
+++ b/misc/bibletime-kde4/Makefile
@@ -23,8 +23,14 @@ USE_GMAKE= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= fails to compile under FreeBSD 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/bibletime/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/bibletime/Makefile b/misc/bibletime/Makefile
index 06126f789199..f647253f0f23 100644
--- a/misc/bibletime/Makefile
+++ b/misc/bibletime/Makefile
@@ -23,8 +23,14 @@ USE_GMAKE= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= fails to compile under FreeBSD 4.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s^-lpthread^${PTHREAD_LIBS}^g" ${WRKSRC}/bibletime/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>