summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache>2013-09-19 08:49:20 +0000
committerobache <obache>2013-09-19 08:49:20 +0000
commit3c62a8f2b7db9df2e5c378879c9238c6bfedf2d0 (patch)
tree6410d59fc3cab00e9d6ba851ca1f3b9dd3b17c05 /devel
parent0f449aaf93387c2169cd9f35a8ddc5d2415c15c4 (diff)
downloadpkgsrc-3c62a8f2b7db9df2e5c378879c9238c6bfedf2d0.tar.gz
fixes build
* C++ is also used * pass MAKE_ENV to build
Diffstat (limited to 'devel')
-rw-r--r--devel/nsis/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/nsis/Makefile b/devel/nsis/Makefile
index ebe01536e36..659609768aa 100644
--- a/devel/nsis/Makefile
+++ b/devel/nsis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/10/31 11:17:32 asau Exp $
+# $NetBSD: Makefile,v 1.16 2013/09/19 08:49:20 obache Exp $
#
DISTNAME= nsis-${NSIS_VER}
@@ -15,6 +15,7 @@ COMMENT= Scriptable system to build Windows installers
DEPENDS+= scons>=0.96.91:../../devel/scons
+USE_LANGUAGES= c c++
USE_TOOLS+= pax
NSIS_SRC= ${DISTNAME:=-src}
@@ -40,7 +41,7 @@ post-extract:
chmod -R go-w ${WRKDIR}/*
do-build:
- cd ${WRKSRC:Q} && \
+ cd ${WRKSRC:Q} && ${PKGSRC_SETENV} ${MAKE_ENV} \
${SCONS_BIN:Q} SKIPSTUBS=all SKIPPLUGINS=all \
SKIPUTILS=all SKIPMISC=all VERSION=${NSIS_VER:Q}