Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external allow LIBISPRIVATE to be overriden, and install eve...
details: https://anonhg.NetBSD.org/src/rev/2fab4f996d09
branches: trunk
changeset: 769733:2fab4f996d09
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Sep 21 02:06:42 2011 +0000
description:
allow LIBISPRIVATE to be overriden, and install everything again.
helpful for mknative-gcc.
diffstat:
external/lgpl2/mpc/lib/libmpc/Makefile | 9 +++++++--
external/lgpl3/gmp/lib/libgmp/Makefile | 9 +++++++--
external/lgpl3/mpfr/lib/libmpfr/Makefile | 9 +++++++--
3 files changed, 21 insertions(+), 6 deletions(-)
diffs (60 lines):
diff -r 2e4a32a86dc2 -r 2fab4f996d09 external/lgpl2/mpc/lib/libmpc/Makefile
--- a/external/lgpl2/mpc/lib/libmpc/Makefile Wed Sep 21 02:00:55 2011 +0000
+++ b/external/lgpl2/mpc/lib/libmpc/Makefile Wed Sep 21 02:06:42 2011 +0000
@@ -1,9 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2011/07/21 03:13:30 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install mpc, just provide it for GCC.
-LIBISPRIVATE= yes
+LIBISPRIVATE?= yes
+
+.if ${LIBISPRIVATE} != "yes"
+INCS= mpc.h mpc-log.h
+INCSDIR= /usr/include
+.endif
LIB= mpc
diff -r 2e4a32a86dc2 -r 2fab4f996d09 external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile Wed Sep 21 02:00:55 2011 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile Wed Sep 21 02:06:42 2011 +0000
@@ -1,9 +1,14 @@
-# $NetBSD: Makefile,v 1.11 2011/08/09 13:01:34 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install gmp, just provide it for GCC.
-LIBISPRIVATE= yes
+LIBISPRIVATE?= yes
+
+.if ${LIBISPRIVATE} != "yes"
+INCS= gmp.h
+INCSDIR= /usr/include
+.endif
DIST=${.CURDIR}/../../dist
diff -r 2e4a32a86dc2 -r 2fab4f996d09 external/lgpl3/mpfr/lib/libmpfr/Makefile
--- a/external/lgpl3/mpfr/lib/libmpfr/Makefile Wed Sep 21 02:00:55 2011 +0000
+++ b/external/lgpl3/mpfr/lib/libmpfr/Makefile Wed Sep 21 02:06:42 2011 +0000
@@ -1,9 +1,14 @@
-# $NetBSD: Makefile,v 1.8 2011/07/21 03:13:30 mrg Exp $
+# $NetBSD: Makefile,v 1.9 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install mpfr, just provide it for GCC.
-LIBISPRIVATE= yes
+LIBISPRIVATE?= yes
+
+.if ${LIBISPRIVATE} != "yes"
+INCS= mpf2mpfr.h mpfr.h
+INCSDIR= /usr/include
+.endif
# XXX get_d.c triggers lint div zero errors (which is valid?)
MKLINT=no
Home |
Main Index |
Thread Index |
Old Index