From 4abed0e622664ac37395bce0081f859c265f240b Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 10 Apr 2014 12:37:05 +0000 Subject: - Fix staging with pkg_install by not using absolute paths in plist Reported by: swills/Jenkins --- www/npm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/npm/Makefile b/www/npm/Makefile index cce2afecdeb6..40773c2ca39f 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -3,6 +3,7 @@ PORTNAME= npm PORTVERSION= 1.3.11 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/sunpoet @@ -20,7 +21,7 @@ USES= tar:xz MAKE_ARGS+= npm_config_prefix=${STAGEDIR}${PREFIX} MANPREFIX= ${PREFIX}/lib/node_modules/npm -PLIST_SUB+= MANPREFIX="${MANPREFIX}" +PLIST_SUB+= MANPREFIX="${MANPREFIX:S,${PREFIX}/,,}" .include -- cgit