diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-26 15:28:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-26 15:28:28 +0000 |
commit | e836ab008ac38916a93472f2840e03e2e8470ef5 (patch) | |
tree | 1485083919fd5b153bf056ea17ac895ea758a8a9 /net/luasocket | |
parent | 35d8b48dff5490ff5d7232109c287da637b58811 (diff) | |
download | ports-e836ab008ac38916a93472f2840e03e2e8470ef5.tar.gz ports-e836ab008ac38916a93472f2840e03e2e8470ef5.zip |
Notes
Diffstat (limited to 'net/luasocket')
-rw-r--r-- | net/luasocket/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile index 3917b4a188f1..f08d81df43aa 100644 --- a/net/luasocket/Makefile +++ b/net/luasocket/Makefile @@ -17,12 +17,10 @@ GH_PROJECT= ${PORTNAME} GH_TAGNAME= v3.0-rc1 GH_COMMIT= 22cd583 -USE_GMAKE= yes -USE_LUA?= 5.1 -LUA_COMPS= lua +USES= lua:51 gmake pkgconfig -CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -I${LUA_INCDIR} -LDFLAGS+= -shared -L${LOCALBASE}/lib -L${LUA_LIBDIR} +CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` +LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}` post-extract: @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile |