aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/pppoa/Makefile4
-rw-r--r--net/pppoa/files/patch-aa11
-rw-r--r--net/pppoa/files/patch-ab2
-rw-r--r--net/pppoa/files/patch-src_modem_run.c11
4 files changed, 12 insertions, 16 deletions
diff --git a/net/pppoa/Makefile b/net/pppoa/Makefile
index 5182e53a05a8..b31e700dcb61 100644
--- a/net/pppoa/Makefile
+++ b/net/pppoa/Makefile
@@ -32,10 +32,6 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700000
-BROKEN= Does not build on FreeBSD >= 7.0
-.endif
-
post-extract:
@${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC}
@${REINPLACE_CMD} s/-lkse/${PTHREAD_LIBS}/g ${WRKSRC}/configure
diff --git a/net/pppoa/files/patch-aa b/net/pppoa/files/patch-aa
deleted file mode 100644
index 5c3171fd9da5..000000000000
--- a/net/pppoa/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Mon Dec 27 22:22:11 2004
-+++ configure.in Mon Dec 27 22:21:45 2004
-@@ -98,7 +98,7 @@
- PUSB_SOURCE="pusb-bsd.c"
- AC_DEFINE(FREEBSD)
- ;;
-- *-freebsd5*)
-+ *-freebsd[56]*)
- st_compile="modem_run pppoa2 pppoa3"
- THREAD_LIBS="-lkse"
- AC_CHECK_HEADER(semaphore.h, , [AC_MSG_WARN([Missing header file, pppoa3 won't be compiled]); st_compile="modem_run pppoa2"])
diff --git a/net/pppoa/files/patch-ab b/net/pppoa/files/patch-ab
index 1e34f4ae1469..60357d00e278 100644
--- a/net/pppoa/files/patch-ab
+++ b/net/pppoa/files/patch-ab
@@ -5,7 +5,7 @@
;;
- *-freebsd5*)
-+ *-freebsd[56]*)
++ *-freebsd[567]*)
st_compile="modem_run pppoa2 pppoa3"
THREAD_LIBS="-pthread"
if test "${ac_cv_header_semaphore_h+set}" = set; then
diff --git a/net/pppoa/files/patch-src_modem_run.c b/net/pppoa/files/patch-src_modem_run.c
new file mode 100644
index 000000000000..5f984f7d74c7
--- /dev/null
+++ b/net/pppoa/files/patch-src_modem_run.c
@@ -0,0 +1,11 @@
+--- src/modem_run.c.orig 2007-10-09 02:38:11.000000000 +0200
++++ src/modem_run.c 2007-10-09 02:38:24.000000000 +0200
+@@ -91,7 +91,7 @@
+ * Global variables
+ ******************************************************************************/
+
+-static int verbose = 0;
++int verbose = 0;
+ FILE *flog = NULL;
+
+ /*****************************************************************************