From 1ee28515a05409a80379bf03e8604cef1ab0f473 Mon Sep 17 00:00:00 2001
From: Phil Sutter <phil@nwl.cc>
Date: Sun, 13 Jun 2010 15:15:06 +0200
Subject: do not use ${INSTALL_BIN} for libraries

Better use ${CP}, as ${INSTALL_BIN} follows the symlinks and therefore
creates duplicate files. While here, also fix the build-deps of
libXfixes.
---
 package/MesaLib/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/MesaLib/Makefile')

diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 5836f994f..043034947 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -61,7 +61,7 @@ pre-configure:
 	);
 	${MAKE} -C ${WRKBUILD}/src/glsl
 	${MAKE} -C ${WRKBUILD}/src/glsl/apps
-	cp ${WRKBUILD}/src/glsl/apps/compile \
+	${CP} ${WRKBUILD}/src/glsl/apps/compile \
 		${STAGING_TOOLS}/bin
 	${MAKE} -C ${WRKBUILD}/src/glsl clean
 
@@ -70,7 +70,7 @@ post-install:
 	$(CP) $(WRKINST)/usr/lib/libGL*.so* \
 		$(IDIR_MESALIB)/usr/lib
 ifeq (${ADK_LINUX_MIPS64_LEMOTE},y)
-	$(INSTALL_BIN) $(WRKINST)/usr/lib/dri/swrast_dri.so \
+	${CP} $(WRKINST)/usr/lib/dri/swrast_dri.so \
 		${IDIR_MESALIB}/usr/lib/dri/
 endif
 	${INSTALL_DIR} ${IDIR_GLXINFO}/usr/bin
-- 
cgit v1.2.3