diff --git a/devel/pth/Makefile b/devel/pth/Makefile index 29ff2dd1b..f2ca3e2fa 100644 --- a/devel/pth/Makefile +++ b/devel/pth/Makefile @@ -22,7 +22,7 @@ TEST_TARGET= test .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" +.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} != "Minix" . if ${MACHINE_ARCH} == "m68k" && (!empty(OS_VERSION:M1.5.[12]*) || !empty(OS_VERSION:M1.[0-4]*)) pre-configure: @${ECHO} Building without --enable-syscall-hard. lib/18644 needs fixing. @@ -34,6 +34,10 @@ CONFIGURE_ENV+= ac_cv_check_nfdstype='unsigned int' CONFIGURE_ENV+= ac_cv_typedef_nfds_t=no # in , but that's unused .endif +.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix" +CONFIGURE_ENV+= ac_cv_header_sys_resource_h=no +.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix" + # XXX: Check this is still required and reverse test to OS which need it. .if ${OPSYS} != "SunOS" CONFIGURE_ARGS+= --with-fdsetsize=1024