summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-02-06 18:11:45 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-02-06 18:11:45 +0000
commit136392de0eb8ec9a0a66a2ace4a9beaed9b9ad77 (patch)
tree92f121a081a83a24f99d200f0529790dc33ac8a3
parentc2ea862179192b4ae3a7f1e42d26714745a38da5 (diff)
downloadfreebsd-ports-136392de0eb8ec9a0a66a2ace4a9beaed9b9ad77.zip
add USE_GCC=2.95 and unbreak this port.
-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>