Loading...
string/Makefile.inc Libc-583 Libc-498
--- Libc/Libc-583/string/Makefile.inc
+++ Libc/Libc-498/string/Makefile.inc
@@ -1,11 +1,14 @@
 #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
 # $FreeBSD: src/lib/libc/string/Makefile.inc,v 1.32 2002/11/18 09:50:56 ru Exp $
 
+.ifnmake autopatch
 # machine-dependent string sources
-.sinclude "${.CURDIR}/${MACHINE_ARCH}/string/Makefile.inc"
+.if exists(${.CURDIR}/${MACHINE_ARCH}/string/Makefile.inc)
+.include "${.CURDIR}/${MACHINE_ARCH}/string/Makefile.inc"
+.endif
+.endif # !autopatch
 
 .PATH: ${.CURDIR}/string
-CWD := ${.CURDIR}/string
 
 CFLAGS+= -I${.CURDIR}/locale