pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Add remaining glue for cross-compilat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a50d21accb84
branches: trunk
changeset: 532282:a50d21accb84
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Aug 15 15:56:12 2007 +0000
description:
Add remaining glue for cross-compilation.
diffstat:
graphics/MesaLib/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 59fd304338c8 -r a50d21accb84 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Wed Aug 15 15:39:23 2007 +0000
+++ b/graphics/MesaLib/Makefile Wed Aug 15 15:56:12 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2007/08/13 11:18:39 seb Exp $
+# $NetBSD: Makefile,v 1.55 2007/08/15 15:56:12 joerg Exp $
PKGNAME= MesaLib-${MESA_VERSION}
PKGREVISION= 3
@@ -25,6 +25,15 @@
.endif
PKGSRC_MAKE_ENV+= PTHREAD_STUBLIB=${PTHREAD_STUBLIB}
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+MAKE_ENV+= CROSS_COMPILING=yes
+.endif
+
+post-extract:
+ ${CP} ${FILESDIR}/gen_matypes.awk ${WRKSRC}/src/mesa/x86
+ ${CP} ${FILESDIR}/gen_matypes.sh ${WRKSRC}/src/mesa/x86
+ ${CHMOD} a+x ${WRKSRC}/src/mesa/x86/gen_matypes.sh
+
pre-build:
cd ${WRKSRC} && ${RM} -fr src/glu src/glut progs
Home |
Main Index |
Thread Index |
Old Index