diff options
Diffstat (limited to 'lib/libcurses++/Makefile')
-rw-r--r-- | lib/libcurses++/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcurses++/Makefile b/lib/libcurses++/Makefile index 9ca9b1f5a43..137fbad3538 100644 --- a/lib/libcurses++/Makefile +++ b/lib/libcurses++/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 1999/05/09 00:21:14 millert Exp $ +# $OpenBSD: Makefile,v 1.2 1999/05/27 23:21:20 millert Exp $ # Uncomment this to enable tracing in libcurses #CURSESTRACE=-DTRACE @@ -11,6 +11,8 @@ HEADERS=cursesapp.h cursesf.h cursesm.h cursesp.h cursesw.h etip.h cursslk.h CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libcurses ${CURSESTRACE} includes: + @test -d ${DESTDIR}/usr/include/g++ || \ + install -d -o root -g bin -m 755 /usr/include/g++ @for i in ${HEADERS}; do \ cmp -s ${DESTDIR}/usr/include/g++/$$i ${.CURDIR}/$$i || \ ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \ |