diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-27 08:30:20 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-27 08:30:20 +0000 |
commit | 57ef95cb82d62fe14ad9bc30d1370e4380f2a616 (patch) | |
tree | 47503cc4070043f8597ae2998d67180a99cb4151 /net-p2p | |
parent | 54b3ec00c2a23b44d91a206369e4572be1489f9b (diff) | |
download | ports-57ef95cb82d62fe14ad9bc30d1370e4380f2a616.tar.gz ports-57ef95cb82d62fe14ad9bc30d1370e4380f2a616.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/verlihub-plugins-luascript/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-p2p/verlihub-plugins-luascript/Makefile b/net-p2p/verlihub-plugins-luascript/Makefile index 3bdca4ae2877..4a91d5d6a927 100644 --- a/net-p2p/verlihub-plugins-luascript/Makefile +++ b/net-p2p/verlihub-plugins-luascript/Makefile @@ -34,11 +34,16 @@ NO_STAGE= yes BUILD_DEPENDS+= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket RUN_DEPENDS+= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket CONFIGURE_ARGS+= --with-luasocket +.endif post-patch:: - @${REINPLACE_CMD} -e 's|-lluasocket|${LUA_MODLIBDIR}/socket/core.so|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|-lluamime|${LUA_MODLIBDIR}/mime/core.so|g' ${WRKSRC}/configure +.if ${PORT_OPTIONS:MSOCKET} + @${REINPLACE_CMD} -e 's|-lluasocket|${LUA_MODLIBDIR}/socket/core.so|g' \ + -e 's|-lluamime|${LUA_MODLIBDIR}/mime/core.so|g' \ + ${WRKSRC}/configure .endif + @${REINPLACE_CMD} -e 's|llua50|llua-${LUA_VER}|g' \ + ${WRKSRC}/configure .include <bsd.port.pre.mk> .include "${PORTSDIR}/net-p2p/verlihub-plugins/Makefile.plugins" |