summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-12-11 21:39:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-12-11 21:39:06 +0000
commit8d8af48dc2c551ce7afabc94a1e1f303e3e82bc8 (patch)
treeff18445d0a90fe080a5186a18edb1d0d3e7b8337
parent- Update to 2.0.12 (diff)
- Two-way unbreak: .eliif->.elif and fix OSVERSION usage
Reported by: world+dog With hat: portmgr
Notes
Notes: svn path=/head/; revision=266067
-rw-r--r--comms/umcs7840/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/comms/umcs7840/Makefile b/comms/umcs7840/Makefile
index 5e9809dc343f..dd753f3f1d1b 100644
--- a/comms/umcs7840/Makefile
+++ b/comms/umcs7840/Makefile
@@ -28,9 +28,11 @@ MAKE_ENV+= KMODDIR=${KMODDIR}
MANCOMPRESSED= yes
MAN4= ${PORTNAME}.4
+.include <bsd.port.pre.mk>
+
.if !exists(/usr/src/sys/Makefile)
IGNORE= requires kernel source files
-.eliif ${OSVERSION} <= 800063
+.elif ${OSVERSION} <= 800063
IGNORE= requires FreeBSD 8.0 or later, please try driver from vendor site
.endif
@@ -40,4 +42,4 @@ post-install:
post-deinstall:
kldxref ${KMODDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>