summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/notes/Makefile8
-rw-r--r--lib/freetype/Makefile13
-rw-r--r--lib/freetype/include/freetype/Makefile.inc3
-rw-r--r--lib/libGL/Makefile5
-rw-r--r--lib/libGL/dri/Makefile5
-rw-r--r--lib/libGLU/Makefile6
-rw-r--r--lib/libGLw/Makefile5
-rw-r--r--lib/libdrm/Makefile5
-rw-r--r--lib/libdrm/intel/Makefile5
-rw-r--r--share/mk/Makefile5
10 files changed, 24 insertions, 36 deletions
diff --git a/distrib/notes/Makefile b/distrib/notes/Makefile
index 61183f3cc..fe13717fa 100644
--- a/distrib/notes/Makefile
+++ b/distrib/notes/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2007/04/04 15:24:27 aanriot Exp $
+# $OpenBSD: Makefile,v 1.5 2010/05/08 14:15:29 matthieu Exp $
FILE= README.${MACHINE}
@@ -10,12 +10,10 @@ ${FILE}.generated: ${FILE} m4.common
m4 ${.CURDIR}/m4.common ${.CURDIR}/${FILE} > ${FILE}.generated
install: ${FILE}.generated
- ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 444 ${FILE}.generated \
- ${DESTDIR}/usr/X11R6/README
+ ${INSTALL_DATA} ${FILE}.generated ${DESTDIR}/usr/X11R6/README
.for set in ${sets}
if [ -d ${DESTDIR}/var/db/pkg/${set}-${OSREV} ]; then \
- ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 444 \
- DESCR.${set} \
+ ${INSTALL_DATA} DESCR.${set} \
${DESTDIR}/var/db/pkg/${set}-${OSREV}/+DESCR; \
${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 755 \
DEINSTALL \
diff --git a/lib/freetype/Makefile b/lib/freetype/Makefile
index f2ca8d100..ee7947736 100644
--- a/lib/freetype/Makefile
+++ b/lib/freetype/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2010/03/25 20:32:36 matthieu Exp $
+# $OpenBSD: Makefile,v 1.16 2010/05/08 14:15:29 matthieu Exp $
FREETYPESRC= ${.CURDIR}/src
@@ -37,24 +37,21 @@ build:
includes:: _SUBDIRUSE
@cmp -s ${DESTDIR}${X11BASE}/include/ft2build.h \
${.CURDIR}/builds/unix/ft2unix.h || \
- ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
- ${.CURDIR}/builds/unix/ft2unix.h \
+ ${INSTALL_DATA} ${.CURDIR}/builds/unix/ft2unix.h \
${DESTDIR}${X11BASE}/include/ft2build.h
includes::
@cmp -s ${DESTDIR}${X11BASE}/include/freetype2/freetype/config/ftconfig.h \
${.CURDIR}/builds/unix/ftconfig.h || \
- ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
- ${.CURDIR}/builds/unix/ftconfig.h \
+ ${INSTALL_DATA} ${.CURDIR}/builds/unix/ftconfig.h \
${DESTDIR}${X11BASE}/include/freetype2/freetype/config/ftconfig.h
includes:: freetype2.pc
- ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
- freetype2.pc ${DESTDIR}${X11BASE}/lib/pkgconfig
+ ${INSTALL_DATA} freetype2.pc ${DESTDIR}${X11BASE}/lib/pkgconfig
includes:: freetype-config
${INSTALL} ${INSTALL_COPY} -m 755 -o $(BINOWN) -g $(BINGRP) \
- freetype-config ${DESTDIR}${X11BASE}/bin
+ freetype-config ${DESTDIR}${X11BASE}/bin
freetype2.pc: freetype2.in Makefile
sed -e s%@prefix@%${X11BASE}% -e s%@exec_prefix@%${X11BASE}% \
diff --git a/lib/freetype/include/freetype/Makefile.inc b/lib/freetype/include/freetype/Makefile.inc
index c82b3a462..6d38b309f 100644
--- a/lib/freetype/include/freetype/Makefile.inc
+++ b/lib/freetype/include/freetype/Makefile.inc
@@ -3,8 +3,7 @@ includes: ${INCS} incinstall _SUBDIRUSE
incinstall:
for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/lib/libGL/Makefile b/lib/libGL/Makefile
index 9df016a42..40ba36bbe 100644
--- a/lib/libGL/Makefile
+++ b/lib/libGL/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.25 2009/05/25 18:40:11 matthieu Exp $
+# $OpenBSD: Makefile,v 1.26 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.xconf.mk>
.if ${XENOCARA_BUILD_DRI:L} == "yes"
@@ -128,8 +128,7 @@ SRCS = $(GLX_SOURCES) \
includes: _SUBDIRUSE
cd ${MESA_INCLUDE}/GL; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}/GL"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/GL"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/lib/libGL/dri/Makefile b/lib/libGL/dri/Makefile
index 1c89792e5..89d225666 100644
--- a/lib/libGL/dri/Makefile
+++ b/lib/libGL/dri/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2009/05/17 20:20:23 matthieu Exp $
+# $OpenBSD: Makefile,v 1.8 2010/05/08 14:15:29 matthieu Exp $
SUBDIR= swrast
@@ -20,8 +20,7 @@ INCS = \
includes:
cd ${MESA_INCLUDE}/GL/internal; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/internal/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}/GL/internal"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/GL/internal"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/lib/libGLU/Makefile b/lib/libGLU/Makefile
index 494a3eb23..66fa6fb7e 100644
--- a/lib/libGLU/Makefile
+++ b/lib/libGLU/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2009/05/25 18:40:11 matthieu Exp $
+# $OpenBSD: Makefile,v 1.11 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.own.mk>
USE_GCC3?=No
@@ -135,8 +135,8 @@ obj: _xenocara_obj
includes:
@cmp -s ${DIST}/include/GL/glu.h \
${DESTDIR}${X11BASE}/include/GL/glu.h \
- || ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${DIST}/include/GL/glu.h ${DESTDIR}${X11BASE}/include/GL
+ || ${INSTALL_DATA} ${DIST}/include/GL/glu.h \
+ ${DESTDIR}${X11BASE}/include/GL
glu.pc: ${DIST}/src/glu/glu.pc.in Makefile
sed -e 's,@INSTALL_DIR@,$(X11BASE),' \
diff --git a/lib/libGLw/Makefile b/lib/libGLw/Makefile
index 756c97d34..f785ed840 100644
--- a/lib/libGLw/Makefile
+++ b/lib/libGLw/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2009/05/25 18:40:11 matthieu Exp $
+# $OpenBSD: Makefile,v 1.12 2010/05/08 14:15:29 matthieu Exp $
DEBUG?=
@@ -28,8 +28,7 @@ obj: _xenocara_obj
includes:
cd ${.CURDIR}; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/GL/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}/GL"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/GL"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/lib/libdrm/Makefile b/lib/libdrm/Makefile
index afc1e438e..9c1ccb635 100644
--- a/lib/libdrm/Makefile
+++ b/lib/libdrm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2009/06/27 10:02:53 matthieu Exp $
+# $OpenBSD: Makefile,v 1.5 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.xconf.mk>
.include "${.CURDIR}/Makefile.inc"
@@ -30,8 +30,7 @@ SRCS= xf86drm.c \
includes: _SUBDIRUSE
cd ${.CURDIR}; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}/"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/lib/libdrm/intel/Makefile b/lib/libdrm/intel/Makefile
index b7401c961..0a942340d 100644
--- a/lib/libdrm/intel/Makefile
+++ b/lib/libdrm/intel/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2009/06/27 10:02:53 matthieu Exp $
+# $OpenBSD: Makefile,v 1.3 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.xconf.mk>
LIB= drm_intel
@@ -24,8 +24,7 @@ LDADD+= -L${X11BASE}/lib -lX11
includes:
cd ${.CURDIR}; for i in ${INCS}; do \
j="cmp -s $$i ${DESTDIR}${INCSDIR}/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- $$i ${DESTDIR}${INCSDIR}/"; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/"; \
echo "\tinstalling $$i"; \
eval "$$j"; \
done
diff --git a/share/mk/Makefile b/share/mk/Makefile
index fafc20807..ce1074fd5 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2008/03/25 23:41:50 matthieu Exp $
+# $OpenBSD: Makefile,v 1.4 2010/05/08 14:15:29 matthieu Exp $
.include <bsd.own.mk>
@@ -7,7 +7,6 @@ FILES= automake.dep bsd.xconf.mk bsd.xorg.mk
all:
install::
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
- ${DESTDIR}${X11BASE}/share/mk
+ ${INSTALL_DATA} ${FILES} ${DESTDIR}${X11BASE}/share/mk
.include <bsd.xorg.mk>