Module Name:    src
Committed By:   matt
Date:           Tue Feb  5 02:54:02 UTC 2013

Modified Files:
        src/external/lgpl3/gmp: Makefile.netbsd-gmp

Log Message:
Use NETBSDSRCDIR.  Use ?= when setting target so you can override from cmdline.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/lgpl3/gmp/Makefile.netbsd-gmp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl3/gmp/Makefile.netbsd-gmp
diff -u src/external/lgpl3/gmp/Makefile.netbsd-gmp:1.1 src/external/lgpl3/gmp/Makefile.netbsd-gmp:1.2
--- src/external/lgpl3/gmp/Makefile.netbsd-gmp:1.1	Sun Oct 30 01:50:32 2011
+++ src/external/lgpl3/gmp/Makefile.netbsd-gmp	Tue Feb  5 02:54:01 2013
@@ -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 @@ ENV_ARGS=\
 			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}

Reply via email to