diff options
author | linimon <linimon@FreeBSD.org> | 2004-05-17 15:11:41 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-05-17 15:11:41 +0800 |
commit | e434b3948982cfa938fbdc004cc1fc480a0d02ec (patch) | |
tree | d0c8d197804ee93252b1d3a8bac0ee9235ff93f8 | |
parent | cf5af8e2172eb46923d1cf296df896e54b8aa663 (diff) | |
download | freebsd-ports-gnome-e434b3948982cfa938fbdc004cc1fc480a0d02ec.tar.gz freebsd-ports-gnome-e434b3948982cfa938fbdc004cc1fc480a0d02ec.tar.zst freebsd-ports-gnome-e434b3948982cfa938fbdc004cc1fc480a0d02ec.zip |
Change the test of IGNORE from a file-existance-test to a release-
version-test. The former do not do The Right Thing on cross-builds.
Prodded by: kris
-rw-r--r-- | net/wistumbler2/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net/wistumbler2/Makefile b/net/wistumbler2/Makefile index 185e4fb234c9..d0fe973ae454 100644 --- a/net/wistumbler2/Makefile +++ b/net/wistumbler2/Makefile @@ -24,10 +24,6 @@ MANCOMPRESSED= yes MAN1= wistumbler2.1 PLIST_FILES= bin/wistumbler2 -.if !exists(/sys/dev/owi/if_ieee80211.h) -IGNORE= requires kernel sources from at least FreeBSD 5.2 -.endif - .if defined(NO_X) MAKE_ENV= PREFIX=${LOCALBASE} USE_GTK=0 .endif @@ -36,6 +32,13 @@ MAKE_ENV= PREFIX=${LOCALBASE} USE_GTK=0 .if ${OSVERSION} < 500000 BROKEN= "Does not compile on 4.x" +.else +# this port needs the file /sys/dev/owi/if_ieee80211.h, but there +# was not a FreeBSD version bump specifically for that. Use the +# nearest one. +.if ${OSVERSION} < 501107 +IGNORE= requires newer kernel sources that include /sys/dev/owi/if_ieee80211.h +.endif .endif pre-everything:: |