aboutsummaryrefslogtreecommitdiff
path: root/bin/expr
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@FreeBSD.org>1993-08-02 16:57:26 +0000
committerJ.T. Conklin <jtc@FreeBSD.org>1993-08-02 16:57:26 +0000
commit22a102fb97a065c643c5d0b25c40221b3b8a639c (patch)
tree1608853f442e4ed7ee55c7e53d9bde9466a6d090 /bin/expr
parentb5a50652cca628e61b6c5f1e2c1627f4714fb567 (diff)
downloadsrc-22a102fb97a065c643c5d0b25c40221b3b8a639c.tar.gz
src-22a102fb97a065c643c5d0b25c40221b3b8a639c.zip
Remove GNU regex.[ch] and use system's regex library. The library is still
GNU regex for now, but will be replaced as soon as an alternative is made availiable.
Notes
Notes: svn path=/head/; revision=230
Diffstat (limited to 'bin/expr')
-rw-r--r--bin/expr/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/expr/Makefile b/bin/expr/Makefile
index f955f92b0b4f..c2db2b639aad 100644
--- a/bin/expr/Makefile
+++ b/bin/expr/Makefile
@@ -1,9 +1,10 @@
# /b/source/CVS/src/bin/expr/Makefile,v 1.5 1993/06/14 19:56:06 jtc Exp
PROG= expr
-SRCS= expr.c regex.c
-CFLAGS+= -I${.CURDIR} -DHAVE_STRING_H=1
+SRCS= expr.c
CLEANFILES+= expr.c y.tab.h
+LDADD+= -lgnuregex
+DPADD+= /usr/lib/libgnuregex.a
expr.c:
${YACC} -d ${.IMPSRC}