aboutsummaryrefslogtreecommitdiff
path: root/net/pppoa
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2004-12-30 20:52:31 +0000
committerBrian Somers <brian@FreeBSD.org>2004-12-30 20:52:31 +0000
commit14ccf95828b28eb9a911acd1b23c952ab530d74e (patch)
tree08b027d87399851806802dad0397c038daef13fd /net/pppoa
parent10acecfb529c419c1ca751b0f49f5f9da7046588 (diff)
downloadports-14ccf95828b28eb9a911acd1b23c952ab530d74e.tar.gz
ports-14ccf95828b28eb9a911acd1b23c952ab530d74e.zip
Notes
Diffstat (limited to 'net/pppoa')
-rw-r--r--net/pppoa/Makefile4
-rw-r--r--net/pppoa/files/patch-aa11
-rw-r--r--net/pppoa/files/patch-ab11
3 files changed, 22 insertions, 4 deletions
diff --git a/net/pppoa/Makefile b/net/pppoa/Makefile
index dce57f22eafe..163d8786911a 100644
--- a/net/pppoa/Makefile
+++ b/net/pppoa/Makefile
@@ -32,10 +32,6 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
-BROKEN= "Configure fails on FreeBSD >= 6.x"
-.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
new file mode 100644
index 000000000000..5c3171fd9da5
--- /dev/null
+++ b/net/pppoa/files/patch-aa
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..1e34f4ae1469
--- /dev/null
+++ b/net/pppoa/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure.orig Mon Dec 27 22:23:03 2004
++++ configure Mon Dec 27 22:25:22 2004
+@@ -4419,7 +4419,7 @@
+ _ACEOF
+
+ ;;
+- *-freebsd5*)
++ *-freebsd[56]*)
+ st_compile="modem_run pppoa2 pppoa3"
+ THREAD_LIBS="-pthread"
+ if test "${ac_cv_header_semaphore_h+set}" = set; then