summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-11 07:42:20 +0000
committerobrien <obrien@FreeBSD.org>2002-10-11 07:42:20 +0000
commit542cd1321de759fbc6d675260c250d7fdfd40007 (patch)
treecca03340aef22edb14771c39ce7f36da1547b6cc /gnu
parent644e24c60163545db151b62b7499db0cd0e80969 (diff)
downloadFreeBSD-src-542cd1321de759fbc6d675260c250d7fdfd40007.zip
FreeBSD-src-542cd1321de759fbc6d675260c250d7fdfd40007.tar.gz
*sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own gnuregex.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gasp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile
index aad9355..6369d19 100644
--- a/gnu/usr.bin/binutils/gasp/Makefile
+++ b/gnu/usr.bin/binutils/gasp/Makefile
@@ -5,12 +5,16 @@
.PATH: ${SRCDIR}/gas
PROG= gasp
-SRCS+= gasp.c macro.c sb.c hash.c
+SRCS+= gasp+%FIXED.c macro.c sb.c hash.c
WARNS= 2
CFLAGS+= -DBFD_ASSEMBLER
-CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as
+CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
DPADD= ${RELTOP}/libiberty/libiberty.a
LDADD= ${DPADD}
+gasp+%FIXED.c: gasp.c
+ sed -e 's|xregex\.h|gnuregex.h|g' ${.ALLSRC} >${.TARGET}
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud