summaryrefslogtreecommitdiff
path: root/net/wmwlmon
diff options
context:
space:
mode:
Diffstat (limited to 'net/wmwlmon')
-rw-r--r--net/wmwlmon/Makefile10
-rw-r--r--net/wmwlmon/files/extra-patch-wl.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/net/wmwlmon/Makefile b/net/wmwlmon/Makefile
index 2aeeba8a40ec..dba62a5538de 100644
--- a/net/wmwlmon/Makefile
+++ b/net/wmwlmon/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.nazgul.ch/dev/ \
http://dougbarton.us/Downloads/
DISTNAME= wmwlmon-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= LukeD@pobox.com
COMMENT= DockApp showing the state of a wireless network device
USE_XORG= x11 xpm
@@ -25,12 +25,12 @@ PLIST_FILES= bin/wmwlmon
.if ${OSVERSION} < 600100
IGNORE= needs WLAN infrastructure from 6.0-RELEASE or newer
-.elif ${OSVERSION} > 700047
+.elif ${OSVERSION} >= 700052
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-wl.c ${PATCHDIR}/extra-patch-wmwlmon.1
pre-everything::
- @${ECHO_CMD} "========================================================"
- @${ECHO_CMD} "On FreeBSD > 700047 there is no wi(4) support"
- @${ECHO_CMD} "========================================================"
+ @${ECHO_CMD} "==========================================================="
+ @${ECHO_CMD} "On FreeBSD > 700052 there is no wi(4) support in {PORTNAME}"
+ @${ECHO_CMD} "==========================================================="
.endif
post-patch:
diff --git a/net/wmwlmon/files/extra-patch-wl.c b/net/wmwlmon/files/extra-patch-wl.c
index cae454c749b0..aaa9b6108e8f 100644
--- a/net/wmwlmon/files/extra-patch-wl.c
+++ b/net/wmwlmon/files/extra-patch-wl.c
@@ -4,7 +4,7 @@
int
get_wi_signal(const char *interface)
{
-+#if __FreeBSD__ > 600100 && __FreeBSD__ < 700047 /* wi support is broken on 7 because of struct wi_req removal*/
++#if __FreeBSD__ > 600100 && __FreeBSD__ < 700052 /* wi support is broken on 7 because of struct wi_req removal*/
int s;
struct ifreq ifr;
struct wi_req wreq;