mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Heuristically determine if the kernel sources contain knob required
to load this module. This allows using it on very recent 4.2-STABLE. Prompted by: bmah
This commit is contained in:
parent
aedb9c2ce3
commit
528d4be48b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38994
@ -20,11 +20,12 @@ PKGMESSAGE= ${WRKDIR}/.MESSAGE
|
||||
ENCODINGS= cd ${WRKSRC}/templates && ${ECHO} [^C]* | \
|
||||
${SED} 's|\.txt|,|g'
|
||||
FMT= /usr/bin/fmt
|
||||
FLAG!= /usr/bin/grep -e cd9660_wchar2char \
|
||||
${SRCPREFIX}/sys/isofs/cd9660/cd9660_util.c || \
|
||||
/usr/bin/true
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "FreeBSD 3.*, 4.* are not supported"
|
||||
.if (${FLAG} == "")
|
||||
BROKEN= "your FreeBSD version is not supported. Please update to the latest version and try again"
|
||||
.endif
|
||||
|
||||
pre-fetch:
|
||||
@ -46,4 +47,4 @@ pre-install:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user