diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-02 19:09:35 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-02 19:09:35 +0000 |
commit | 528d4be48b937a2666c1b9b69974f6c52fbd8d0e (patch) | |
tree | f720adaee8c28889ca60a80199b98ac0040d43d7 /sysutils/cd9660_unicode | |
parent | aedb9c2ce39e15e1c9f7b377e82f3d627681a51b (diff) | |
download | ports-528d4be48b937a2666c1b9b69974f6c52fbd8d0e.tar.gz ports-528d4be48b937a2666c1b9b69974f6c52fbd8d0e.zip |
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
Notes
Notes:
svn path=/head/; revision=38994
Diffstat (limited to 'sysutils/cd9660_unicode')
-rw-r--r-- | sysutils/cd9660_unicode/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/cd9660_unicode/Makefile b/sysutils/cd9660_unicode/Makefile index 44a56cbfe3cd..dec1a0e9c017 100644 --- a/sysutils/cd9660_unicode/Makefile +++ b/sysutils/cd9660_unicode/Makefile @@ -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> |