summaryrefslogtreecommitdiff
path: root/net/wmwlmon
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-11 21:25:16 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-11 21:25:16 +0000
commit9ce6b34139da26b68a37448d3ab0292c4e847e4b (patch)
tree095e1d9ac32abe91041a1cabecfa5c3227f6a65c /net/wmwlmon
parent- Update to 0.3. (diff)
- Adjust OSVERSION from where wi(4) is not supported by this port. [1]
- pass maintainership to last PR submitter. [1] Submitted by: Luke Dean <LukeD@pobox.com> [1]
Notes
Notes: svn path=/head/; revision=212938
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;