Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right

getopt.h (as workaround until it will be removed from contrib)
This commit is contained in:
Andrey A. Chernov 2004-03-04 20:36:18 +00:00
parent edf075d085
commit 44fc52d2ac

View File

@ -24,6 +24,8 @@ CFLAGS+= -I${.CURDIR}/${TARGET_ARCH}
.endif
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH}
# to pick right getopt.h
CFLAGS+= -I${DESTDIR}/usr/include
CFLAGS+= -I${SRCDIR}/include
.if exists(${.CURDIR}/${TARGET_ARCH})