From ca421892f14add835fa83c7c89861c6522e2cf64 Mon Sep 17 00:00:00 2001 From: sbd Date: Tue, 29 Nov 2011 06:18:59 +0000 Subject: Give COMPILE, OPTIMIZE and LINK arguments to configure. Bump PKGREVISON --- games/scid/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/scid') diff --git a/games/scid/Makefile b/games/scid/Makefile index fa32a298f14..ea783e90ba9 100644 --- a/games/scid/Makefile +++ b/games/scid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2011/07/03 17:02:22 mspo Exp $ +# $NetBSD: Makefile,v 1.11 2011/11/29 06:18:59 sbd Exp $ # DISTNAME= scid-3.6.1 @@ -17,8 +17,12 @@ HAS_CONFIGURE= yes USE_LANGUAGES= c c++ USE_TOOLS+= gmake +# Make the LINK command CXX and the LDFLAGS. +LINK= ${CXX} ${LDFLAGS} + CONFIGURE_ENV+= TCLCONFIG_SH=${TCLCONFIG_SH:Q} CONFIGURE_ARGS+= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}/share/scid +CONFIGURE_ARGS+= COMPILE=${CXX:Q} OPTIMIZE=${CFLAGS:Q} LINK=${LINK:Q} SUBST_CLASSES+= paths SUBST_MESSAGE.paths= Fixing paths to tcl.h and tk.h. -- cgit v1.2.3