summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/oproute/Makefile9
-rw-r--r--net/oproute/Makefile9
2 files changed, 4 insertions, 14 deletions
diff --git a/net-mgmt/oproute/Makefile b/net-mgmt/oproute/Makefile
index 40641c2b6224..46cca45fdd67 100644
--- a/net-mgmt/oproute/Makefile
+++ b/net-mgmt/oproute/Makefile
@@ -17,14 +17,9 @@ COMMENT= A tool for measuring general performance of the Internet
PLIST_FILES= bin/oproute
USE_REINPLACE= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
+USE_GCC= 2.95
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/oproute/Makefile b/net/oproute/Makefile
index 40641c2b6224..46cca45fdd67 100644
--- a/net/oproute/Makefile
+++ b/net/oproute/Makefile
@@ -17,14 +17,9 @@ COMMENT= A tool for measuring general performance of the Internet
PLIST_FILES= bin/oproute
USE_REINPLACE= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
+USE_GCC= 2.95
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>