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:
ache 2004-03-04 20:36:18 +00:00
parent afe5d995f8
commit c73151565e

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})