diff options
author | Martin Matuska <mm@FreeBSD.org> | 2019-09-16 09:52:19 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2019-09-16 09:52:19 +0000 |
commit | bd94b00f504a60b9a854c14538ec57a7b4aeadbd (patch) | |
tree | 9436737fe4941c6a90e1ec6737ad6aa3f9498163 /lang/luajit-openresty | |
parent | - Fix whitespace (diff) |
lang/luajit-openresty: correctly link luajit binary
Reported by: Vanilla Hsu <v@fatpipi.com>
Diffstat (limited to 'lang/luajit-openresty')
-rw-r--r-- | lang/luajit-openresty/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/luajit-openresty/Makefile b/lang/luajit-openresty/Makefile index 21a412c5b5b8..1357ca6783ba 100644 --- a/lang/luajit-openresty/Makefile +++ b/lang/luajit-openresty/Makefile @@ -4,7 +4,7 @@ PORTNAME= luajit DISTVERSIONPREFIX= v DISTVERSION= 2.1-20190912 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang PKGNAMESUFFIX= -openresty @@ -26,7 +26,10 @@ USE_GITHUB= yes GH_ACCOUNT= openresty GH_PROJECT= luajit2 -PLIST_SUB+= VERSION=2.1.0-beta3 SOVERSION=2.1.0 +LUAJIT_VERSION= 2.1.0-beta3 +LUAJIT_SOVERSION= 2.1.0 + +PLIST_SUB+= VERSION=${LUAJIT_VERSION} SOVERSION=${LUAJIT_SOVERSION} .include <bsd.port.options.mk> @@ -35,7 +38,7 @@ USE_GCC=yes .endif post-install: - ${LN} -sf ${PORTNAME}-${DISTVERSION} \ + ${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 |