diff options
author | flz <flz@FreeBSD.org> | 2007-02-01 03:45:07 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2007-02-01 03:45:07 +0800 |
commit | ad30e5d9947f858267d77230d7002122409135c7 (patch) | |
tree | 04ecf5c52e4dc21d87787ca637c19ef5e39e1e00 /net/ipw-firmware-kmod | |
parent | 388ffff6bc789966aad6bfc65b6562c1160a37cd (diff) | |
download | freebsd-ports-gnome-ad30e5d9947f858267d77230d7002122409135c7.tar.gz freebsd-ports-gnome-ad30e5d9947f858267d77230d7002122409135c7.tar.zst freebsd-ports-gnome-ad30e5d9947f858267d77230d7002122409135c7.zip |
- This use of MAKE_ENV somehow breaks usual kmod compilation flags, so
explicitely use ${SETENV} KMODDIR="${KMODDIR}" before calling sub-make. [1]
- Use 700015 as __FreeBSD_version to detect if ipw(4) is using firmware(9).
Reported by: Benjamin Close [1]
Diffstat (limited to 'net/ipw-firmware-kmod')
-rw-r--r-- | net/ipw-firmware-kmod/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/ipw-firmware-kmod/Makefile b/net/ipw-firmware-kmod/Makefile index 6c53a4d71d5b..61ab2825ab53 100644 --- a/net/ipw-firmware-kmod/Makefile +++ b/net/ipw-firmware-kmod/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ipw-firmware PORTVERSION= ${FWVERSION} -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= flz/ipw @@ -29,13 +29,12 @@ KMODDIR= /boot/modules KMODVERSION= ${FWVERSION:C/^(...)$/\1.0/:S/.//g} PLIST_SUB= DRIVERNAME="${DRIVERNAME}" \ KMODDIR="${KMODDIR}" -MAKE_ENV= KMODDIR="${KMODDIR}" CFLAGS+= -D_KERNEL NO_PACKAGE= "this is a modified version of a restricted firmware" MIN6OSVERSION?= 999999 -MIN7OSVERSION?= 999999 +MIN7OSVERSION?= 700015 .include <bsd.port.pre.mk> @@ -56,12 +55,12 @@ post-patch: do-build: .for i in ${FIRMWARES} - @cd ${WRKSRC}/${i:C/.*://}; make all ${MAKE_ENV} + @cd ${WRKSRC}/${i:C/.*://}; ${SETENV} KMODDIR="${KMODDIR}" make all .endfor do-install: .for i in ${FIRMWARES} - @cd ${WRKSRC}/${i:C/.*://}; make install ${MAKE_ENV} + @cd ${WRKSRC}/${i:C/.*://}; ${SETENV} KMODDIR="${KMODDIR}" make install .endfor .include <bsd.port.post.mk> |