summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-12-11 23:32:53 +0000
committerjoerg <joerg@pkgsrc.org>2015-12-11 23:32:53 +0000
commitdbe51dd8b8173fcac4a2af7538fcafee0e56522e (patch)
treeea24ee3efec5bbe04ca56eee96c44435c36029cb /lang
parent3b79bbe50b7816b5700471e38be7f41d2ebaee89 (diff)
downloadpkgsrc-dbe51dd8b8173fcac4a2af7538fcafee0e56522e.tar.gz
Honour wrappers. Declare C++ dependency.
Diffstat (limited to 'lang')
-rw-r--r--lang/cint/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/lang/cint/Makefile b/lang/cint/Makefile
index 7c5726f6ed1..d1cd6f7cc8d 100644
--- a/lang/cint/Makefile
+++ b/lang/cint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2015/08/30 08:41:44 dholland Exp $
+# $NetBSD: Makefile,v 1.31 2015/12/11 23:32:53 joerg Exp $
DISTNAME= cint5.15
PKGNAME= cint-5.15.174
@@ -13,6 +13,8 @@ COMMENT= C/C++ interpreter
CONFLICTS= man-pages-[0-9]*
+USE_LANGUAGES= c c++
+
#same distribution file name for minor versions
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}
@@ -37,11 +39,14 @@ do-build:
cd ${WRKDIR}; \
case ${OPSYS} in \
FreeBSD|DragonFly) \
- ${SH} ./setup platform/freebsd_C ;; \
+ ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/freebsd_C \
+ ;; \
NetBSD|OpenBSD|Bitrig) \
- ${SH} ./setup platform/netbsd ;; \
+ ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/netbsd \
+ ;; \
SunOS) \
- ${SH} ./setup platform/solaris_gcc ;; \
+ ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/solaris_gcc \
+ ;; \
*) \
${ECHO} 'not yet ported to ${OPSYS}'; exit 1 ;; \
esac