aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-06-19 13:59:27 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-06-19 13:59:27 +0000
commit36b97c9a0530d0b6e1863837d648c75fcb5a34fa (patch)
tree7cb45d47b3868645623ddc8c638bf6c9691776f3 /emulators
parente2c4f6e506d59148e09d3c38ccd3206813b27f26 (diff)
downloadports-36b97c9a0530d0b6e1863837d648c75fcb5a34fa.tar.gz
ports-36b97c9a0530d0b6e1863837d648c75fcb5a34fa.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/win4bsd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/win4bsd/Makefile b/emulators/win4bsd/Makefile
index dd309357f55f..49f67fc07c1d 100644
--- a/emulators/win4bsd/Makefile
+++ b/emulators/win4bsd/Makefile
@@ -34,13 +34,18 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
.if !exists(/usr/src/sys/kern)
IGNORE= requires system source for installing kqemu, the accelerator that provides native CPU speed in Win4BSD. Please install the system sources in /usr/src (e.g. using sysinstall), and run make again
.endif
+SCHED_NAME!= ${SYSCTL} -n kern.sched.name
+.if ${SCHED_NAME} != "4BSD"
+IGNORE= requires the traditional 4BSD scheduler. Please rebuild your kernel with options SCHED_4BSD, and run make again
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/+POST-* \
${WRKSRC}/usr/local/lib/win4bsd/bin/postinstall.sh \