Relax the version check on mkdirp, so it uses the newer mkdirp

bundled with Node instead of trying to download mkdirp-0.3.5 from
registry.npmjs.org

Spotted by sthen@
OK abieber@, jasper@
This commit is contained in:
dcoppa 2014-10-19 08:42:53 +00:00
parent fc9fb59ea4
commit f47d8fc96f
2 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2014/08/31 10:48:53 jasper Exp $
# $OpenBSD: Makefile,v 1.18 2014/10/19 08:42:53 dcoppa Exp $
PKG_ARCH = *
@ -7,6 +7,7 @@ COMMENT = little language that compiles to javascript
NPM_VERSION = 1.8.0
NPM_NAME = coffee-script
PKGNAME = coffeescript-${NPM_VERSION}
REVISION = 0
CATEGORIES = lang
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-package_json,v 1.1 2014/10/19 08:42:54 dcoppa Exp $
Relax the version check on mkdirp, so it uses the newer mkdirp
bundled with Node instead of trying to download mkdirp-0.3.5 from
registry.npmjs.org
--- package.json.orig Sat Oct 18 20:28:19 2014
+++ package.json Sat Oct 18 20:28:38 2014
@@ -39,6 +39,6 @@
"docco": "~0.6.2"
},
"dependencies": {
- "mkdirp": "~0.3.5"
+ "mkdirp": ">=0.3.5"
}
}