- Always check OPSYS along with OSVERSION
Approved by: portmgr blanket
This commit is contained in:
@@ -19,7 +19,7 @@ NOPRECIOUSMAKEVARS= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1100095
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100095
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
|
||||
${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c
|
||||
|
||||
Reference in New Issue
Block a user