summaryrefslogtreecommitdiff
path: root/www/aws-demos
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2014-04-30 16:30:57 +0000
committermarino <marino@pkgsrc.org>2014-04-30 16:30:57 +0000
commitbc046fd9e276c44c840a108f01acd8dc4e7a13b2 (patch)
treed6e3550a960f66baca12c270ecf5dc75e19bd0af /www/aws-demos
parentdae96a3d60d90e5d33ac3352b35a761d6d8173e7 (diff)
downloadpkgsrc-bc046fd9e276c44c840a108f01acd8dc4e7a13b2.tar.gz
www/aws-demos: Fix after gprbuild update
The new gprbuild configuration files must have a slight difference because it can no longer work with the standard buildlink. Passing an additional directory in the pass will fix it though.
Diffstat (limited to 'www/aws-demos')
-rw-r--r--www/aws-demos/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/www/aws-demos/Makefile b/www/aws-demos/Makefile
index 4d95b72c7cb..68e8621773f 100644
--- a/www/aws-demos/Makefile
+++ b/www/aws-demos/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2014/02/12 23:18:44 tron Exp $
+# $NetBSD: Makefile,v 1.12 2014/04/30 16:30:57 marino Exp $
#
DISTNAME= aws-${AWS_VERSION}
PKGNAME= aws-demos-${AWS_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://downloads.dragonlace.net/src/
EXTRACT_SUFX= .tar.bz2
@@ -25,8 +25,10 @@ CONFIGURE_ARGS+= XMLADA=true
CONFIGURE_ARGS+= prefix=${PREFIX}
CONFIGURE_ARGS+= DEBUG=true
-MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
-MAKE_ENV+= AWK=awk
+MY_MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat
+MY_MAKE_ENV+= AWK=awk
+MY_MAKE_ENV+= PATH=${PREFIX}/gcc-aux/bin:${PATH}
+MY_CONF_ENV+= PATH=${PREFIX}/gcc-aux/bin:${PATH}
CONFIGURE_ARGS+= LPATH=${PREFIX}/lib ZPATH=/usr/lib
SUBST_CLASSES+= lpath
@@ -97,11 +99,12 @@ PLIST.ssl= yes
.endif
do-configure:
- cd ${WRKSRC} && ${GMAKE} setup ${CONFIGURE_ARGS}
+ cd ${WRKSRC} && ${SETENV} ${MY_CONF_ENV} \
+ ${GMAKE} setup ${CONFIGURE_ARGS}
do-build:
.for dd in ${DEMO_DIRS}
- cd ${WRKSRC}/demos/${dd} && ${SETENV} ${MAKE_ENV} ${GMAKE}
+ cd ${WRKSRC}/demos/${dd} && ${SETENV} ${MY_MAKE_ENV} ${GMAKE}
.endfor
do-install: