summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-30 02:13:06 +0000
committerpeter <peter@FreeBSD.org>1996-08-30 02:13:06 +0000
commitdf9e2b70dec76c94e28eb23f1c7a49a84c67e33b (patch)
tree6fbb4cdcf37a6595096a70acf6027a9a1755938d
parentad8842673684a42b233c39c440b9e97a5c73d5fa (diff)
downloadFreeBSD-src-df9e2b70dec76c94e28eb23f1c7a49a84c67e33b.zip
FreeBSD-src-df9e2b70dec76c94e28eb23f1c7a49a84c67e33b.tar.gz
cmp -s || install -c ==> install -C
Add -DHAVE_UNISTD_H -DHAVE_STDLIB_H to get these files
-rw-r--r--gnu/lib/libreadline/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile
index 437464a..116c42c 100644
--- a/gnu/lib/libreadline/Makefile
+++ b/gnu/lib/libreadline/Makefile
@@ -1,7 +1,8 @@
-# $Id: Makefile,v 1.20 1995/05/08 08:43:06 ache Exp $
+# $Id: Makefile,v 1.21 1995/08/06 12:22:57 bde Exp $
-CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H
+CFLAGS+= -I${.CURDIR} -DVOID_SIGHANDLER -DHAVE_CONFIG_H \
+ -DHAVE_STDLIB_H -DHAVE_UNISTD_H
LIB= readline
SHLIB_MAJOR= 3
@@ -17,11 +18,9 @@ LDADD+= -ltermcap
SUBDIR+= doc
beforeinstall:
- cd ${.CURDIR}; \
- for m in ${HEADERS} ; do \
- cmp -s $$m ${DESTDIR}/usr/include/readline/$$m || \
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$m ${DESTDIR}/usr/include/readline ; \
- done
+.for i in ${HEADERS}
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/$i \
+ ${DESTDIR}/usr/include/readline
+.endfor
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud