Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp Use NETBSDSRCDIR. Use ?= when setting ta...
details: https://anonhg.NetBSD.org/src/rev/4aac0fc356fa
branches: trunk
changeset: 784655:4aac0fc356fa
user: matt <matt%NetBSD.org@localhost>
date: Tue Feb 05 02:54:01 2013 +0000
description:
Use NETBSDSRCDIR. Use ?= when setting target so you can override from cmdline.
diffstat:
external/lgpl3/gmp/Makefile.netbsd-gmp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 394586c155d6 -r 4aac0fc356fa external/lgpl3/gmp/Makefile.netbsd-gmp
--- a/external/lgpl3/gmp/Makefile.netbsd-gmp Tue Feb 05 02:51:14 2013 +0000
+++ b/external/lgpl3/gmp/Makefile.netbsd-gmp Tue Feb 05 02:54:01 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.netbsd-gmp,v 1.1 2011/10/30 01:50:32 mrg Exp $
+# $NetBSD: Makefile.netbsd-gmp,v 1.2 2013/02/05 02:54:01 matt Exp $
# hack makefile to help build gmp ./configure
@@ -6,7 +6,7 @@
CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
-TARGET=hppa-netbsd
+TARGET?=hppa-netbsd
#TARGET=mips64el-netbsd
ENV_ARGS=\
CC=${CC:Q}' '${CCADDFLAGS:Q} \
@@ -16,4 +16,4 @@
LIBS=-lintl
all:
- env ${ENV_ARGS} /usr/src3/external/lgpl3/gmp/dist/configure --host=${TARGET} --target=${TARGET}
+ env ${ENV_ARGS} ${NETBSDSRCDIR}/external/lgpl3/gmp/dist/configure --host=${TARGET} --target=${TARGET}
Home |
Main Index |
Thread Index |
Old Index