From 87ea083bbc9798c5a09962d208b2c8230d957861 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 17 Mar 2004 07:40:42 +0000 Subject: Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including vs. just . --- gnu/usr.bin/binutils/gasp/Makefile | 8 ++++---- gnu/usr.bin/binutils/gdb/Makefile | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile index 8749722..c2c6dba 100644 --- a/gnu/usr.bin/binutils/gasp/Makefile +++ b/gnu/usr.bin/binutils/gasp/Makefile @@ -5,7 +5,7 @@ .PATH: ${SRCDIR}/gas PROG= gasp -SRCS+= gasp+%FIXED.c macro.c sb.c hash.c +SRCS+= gasp.c macro.c sb.c hash.c xregex.h WARNS?= 2 CFLAGS+= -DBFD_ASSEMBLER CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as @@ -13,9 +13,9 @@ CFLAGS+= -I${.CURDIR} CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config DPADD= ${RELTOP}/libiberty/libiberty.a LDADD= ${DPADD} -CLEANFILES= gasp+%FIXED.c +CLEANFILES= xregex.h -gasp+%FIXED.c: gasp.c - sed -e 's|xregex\.h|regex.h|g' ${.ALLSRC} >${.TARGET} +xregex.h: + @echo '#include ' >${.TARGET} .include diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index cadd3b2..0104729 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -58,7 +58,6 @@ CFLAGS+= -DDEFAULT_BFD_ARCH=bfd_${GDB_CPU}_arch CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd CFLAGS+= -I${GDBDIR}/gdb -I${GDBDIR}/gdb/config -CFLAGS+= -I${DESTDIR}/usr/include/gnu CFLAGS+= -I$(.CURDIR) YFLAGS= @@ -136,6 +135,6 @@ gdbversion.c: Makefile @echo 'const char target_name[] = "${TARGET_ARCH}-undermydesk-freebsd";' >>${.TARGET} xregex.h: - @echo '#include ' >${.TARGET} + @echo '#include ' >${.TARGET} .include -- cgit v1.1