summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc-gui-qt/Makefile8
-rw-r--r--net/dctc-gui-qt/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-p2p/dctc-gui-qt/Makefile b/net-p2p/dctc-gui-qt/Makefile
index 782c182db632..fd55fee8b1cf 100644
--- a/net-p2p/dctc-gui-qt/Makefile
+++ b/net-p2p/dctc-gui-qt/Makefile
@@ -27,6 +27,12 @@ PLIST_FILES= bin/dc-qt
QTDIR?= ${X11BASE}
QMAKE?= ${X11BASE}/bin/qmake
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -E -e 's|"hublist|"dc_hublist|' \
${WRKSRC}/dc_hub.cc
@@ -47,4 +53,4 @@ post-configure:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dc-qt ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/dctc-gui-qt/Makefile b/net/dctc-gui-qt/Makefile
index 782c182db632..fd55fee8b1cf 100644
--- a/net/dctc-gui-qt/Makefile
+++ b/net/dctc-gui-qt/Makefile
@@ -27,6 +27,12 @@ PLIST_FILES= bin/dc-qt
QTDIR?= ${X11BASE}
QMAKE?= ${X11BASE}/bin/qmake
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -E -e 's|"hublist|"dc_hublist|' \
${WRKSRC}/dc_hub.cc
@@ -47,4 +53,4 @@ post-configure:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dc-qt ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>