summaryrefslogtreecommitdiff
path: root/math/scilab/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-12 12:39:32 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-12 12:39:32 +0000
commit30b64a9930b7a98d84179f64c27f879585217a99 (patch)
treeaebbbdc906d4d4139956855bec957945d953160f /math/scilab/Makefile
parent5910f689fcee5046a0e206b5b09485e07a3362b0 (diff)
downloadpkgsrc-30b64a9930b7a98d84179f64c27f879585217a99.tar.gz
Honour LDFLAGS, fix errno usage.
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r--math/scilab/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 077a2d4432a..c947f05c5ab 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2006/02/05 23:10:04 joerg Exp $
+# $NetBSD: Makefile,v 1.70 2006/05/12 12:39:32 joerg Exp $
#
DISTNAME= ${SCIBASE}-src
@@ -36,6 +36,8 @@ CONFIGURE_ARGS+= --with-tk-library=${TK_PREFIX}/lib
CONFIGURE_ARGS+= --with-tk-include=${TK_PREFIX}/include
CONFIGURE_ENV+= TCL_CONFIG_SH=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
CONFIGURE_ENV+= TK_CONFIG_SH=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
+CONFIGURE_ENV+= CC_LDFLAGS=${X11_LDFLAGS:Q}\ ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.tk:Q}/lib
+CONFIGURE_ENV+= FC_LDFLAGS=${X11_LDFLAGS:Q}\ ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.tk:Q}/lib
# override HOME to avoid picking up a bad ${HOME}/.scilab during the build
MAKE_ENV+= HOME=${WRKSRC:Q}