aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2019-05-12 00:16:18 +0800
committeryuri <yuri@FreeBSD.org>2019-05-12 00:16:18 +0800
commit48bca01577ad844a9c72d9599f51c8e977dac152 (patch)
tree98dfc20f136262095f5aaf2d908e33216c1bfddf /devel
parentae8dca2d2fc702d10386cd988a4c01cb681d670f (diff)
downloadfreebsd-ports-gnome-48bca01577ad844a9c72d9599f51c8e977dac152.tar.gz
freebsd-ports-gnome-48bca01577ad844a9c72d9599f51c8e977dac152.tar.zst
freebsd-ports-gnome-48bca01577ad844a9c72d9599f51c8e977dac152.zip
devel/emscripten: Add the PORTSCOUT limit expression
Diffstat (limited to 'devel')
-rw-r--r--devel/emscripten/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/emscripten/Makefile b/devel/emscripten/Makefile
index 07e2b132db2b..edc643040d52 100644
--- a/devel/emscripten/Makefile
+++ b/devel/emscripten/Makefile
@@ -24,6 +24,8 @@ PYSCRIPTS= em++ emar emcc em-config emconfigure emmake emranlib emrun emscons
NO_BUILD= yes
NO_ARCH= yes
+PORTSCOUT= limit:^[0-9\.]*$$ # prevent versions like "i64"
+
post-patch:
@${REINPLACE_CMD} -E "s|^__rootpath__ = .*|__rootpath__ = '${PREFIX}/lib/${PORTNAME}'|" ${WRKSRC}/tools/shared.py