aboutsummaryrefslogtreecommitdiff
path: root/emulators/win4bsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/win4bsd/Makefile')
-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 \