summaryrefslogtreecommitdiff
path: root/lang/spidermonkey
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2011-12-06 05:22:38 +0000
committeryyamano <yyamano@pkgsrc.org>2011-12-06 05:22:38 +0000
commitbdc12f4b8adffca3ddd6da301d6d267ab12c947f (patch)
tree294f288ab66889ab07a058311c298e4ff2aa83bb /lang/spidermonkey
parentf26f9a6c047732eb322acb1e19e7530117911f31 (diff)
downloadpkgsrc-bdc12f4b8adffca3ddd6da301d6d267ab12c947f.tar.gz
Don't overwrite the mk file on non SunOS platforms.
Bump PKGREVISION to 2.
Diffstat (limited to 'lang/spidermonkey')
-rw-r--r--lang/spidermonkey/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/spidermonkey/Makefile b/lang/spidermonkey/Makefile
index 410e6ab43f5..6681450dc86 100644
--- a/lang/spidermonkey/Makefile
+++ b/lang/spidermonkey/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2010/12/27 23:09:22 fhajny Exp $
+# $NetBSD: Makefile,v 1.22 2011/12/06 05:22:38 yyamano Exp $
DISTNAME= js-1.8.0-rc1
PKGNAME= spidermonkey-1.8.0rc1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_MOZILLA:=js/}
@@ -50,7 +50,9 @@ PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX}
post-extract:
${CP} ${FILESDIR}/pkgsrc.mk ${WRKSRC}/config
+.if ${OPSYS} == "SunOS"
${CP} ${FILESDIR}/opensolaris.mk ${WRKSRC}/config/${BUILDDIRPREFIX}.mk
+.endif
${RM} ${WRKSRC}/lock_SunOS.s
do-install: