Workaround for PR/41007 - ensure WRKSRC comes before any buildlinked

directories so we pickup our audio/audio.h. Cannot use CPPFLAGS for this.
    CFLAGS+= -I${WRKSRC}
This commit is contained in:
abs 2009-03-24 15:13:40 +00:00
parent 902b3f2c10
commit 258824ec89

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.54 2009/01/22 07:27:28 jmmv Exp $
# $NetBSD: Makefile,v 1.55 2009/03/24 15:13:40 abs Exp $
#
DISTNAME= qemu-0.9.1
@ -19,6 +19,10 @@ HAS_CONFIGURE= yes
BUILD_DEPENDS+= texi2html-[0-9]*:../../textproc/texi2html
# Workaround for PR/41007 - ensure WRKSRC comes before any buildlinked
# directories so we pickup our audio/audio.h. Cannot use CPPFLAGS for this
CFLAGS+= -I${WRKSRC}
.include "../../mk/bsd.prefs.mk"
GCC_REQD+= 3.0
@ -71,6 +75,7 @@ CFLAGS+= -fno-stack-protector
CONFIGURE_ARGS+= --disable-gcc-check
.endif
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/qemu
post-install: