Make node-bcrypt work with libv8

OK jeremy@
This commit is contained in:
abieber 2012-12-05 00:46:38 +00:00
parent 0bac080b84
commit 4e0f83330f
2 changed files with 18 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2012/07/12 21:42:54 jasper Exp $
# $OpenBSD: Makefile,v 1.9 2012/12/05 00:46:38 abieber Exp $
COMMENT = bcrypt hashing library for Node.js
NPM_VERSION = 0.6.0
NPM_NAME = bcrypt
REVISION = 0
REVISION = 1
CATEGORIES = security
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
@ -21,6 +21,9 @@ MODULES = lang/node
CONFIGURE_STYLE = npm ext
pre-configure:
${SUBST_CMD} ${WRKDIST}/binding.gyp
# needs nodeunit
NO_REGRESS = Yes

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-binding_gyp,v 1.1 2012/12/05 00:46:38 abieber Exp $
--- binding.gyp.orig Fri Oct 12 20:54:50 2012
+++ binding.gyp Fri Oct 12 20:55:21 2012
@@ -9,7 +9,8 @@
'src/blowfish.cc',
'src/bcrypt.cc',
'src/bcrypt_node.cc'
- ]
+ ],
+ 'ldflags' : ['-L${LOCALBASE}/lib']
}
]
}