Lines 34-46
Link Here
|
34 |
.include <bsd.port.pre.mk> |
34 |
.include <bsd.port.pre.mk> |
35 |
|
35 |
|
36 |
.if ${OSVERSION} > 600000 |
36 |
.if ${OSVERSION} > 600000 |
37 |
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x |
37 |
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x |
38 |
.endif |
38 |
.endif |
39 |
|
39 |
|
40 |
.if !exists(/usr/src/sys/kern) |
40 |
.if !exists(/usr/src/sys/kern) |
41 |
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 |
41 |
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 |
42 |
.endif |
42 |
.endif |
43 |
|
43 |
|
|
|
44 |
SCHED_NAME!= ${SYSCTL} -n kern.sched.name |
45 |
.if ${SCHED_NAME} != "4BSD" |
46 |
IGNORE= requires the traditional 4BSD scheduler. Please rebuild your kernel with options SCHED_4BSD, and run make again |
47 |
.endif |
48 |
|
44 |
post-patch: |
49 |
post-patch: |
45 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/+POST-* \ |
50 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/+POST-* \ |
46 |
${WRKSRC}/usr/local/lib/win4bsd/bin/postinstall.sh \ |
51 |
${WRKSRC}/usr/local/lib/win4bsd/bin/postinstall.sh \ |