summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2011-11-29 06:18:59 +0000
committersbd <sbd@pkgsrc.org>2011-11-29 06:18:59 +0000
commit5f58b9ee8d5148cada337ed4a6259abad183a3a6 (patch)
treecdf5d9307ba3a9c07f50bbb3aebeb12eedc2c706 /games
parent3df4b567d96a7212069ebc0e57812031152e9b7a (diff)
downloadpkgsrc-5f58b9ee8d5148cada337ed4a6259abad183a3a6.tar.gz
Give COMPILE, OPTIMIZE and LINK arguments to configure.
Bump PKGREVISON
Diffstat (limited to 'games')
-rw-r--r--games/scid/Makefile6
1 files changed, 5 insertions, 1 deletions
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.