mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Port to lua 5.2 + cosmetic changes
This commit is contained in:
parent
ba5882cefa
commit
cefd296e0f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339326
@ -24,24 +24,18 @@ CONFIGURE_ARGS= --enable-lua-module \
|
||||
--with-ssl="${OPENSSLLIB}"
|
||||
CPPFLAGS+= -I${LUA_INCDIR}
|
||||
GNU_CONFIGURE= yes
|
||||
USES= iconv
|
||||
USE_LUA= yes
|
||||
USES= iconv lua
|
||||
USE_OPENSSL= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAN1= htntlm.1 htproxy.1 htremote.1 httest.1
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|`$$APR_CONFIG --cflags`||; s|-llua|-llua-${LUA_VER}|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/generate_modules_c.sh
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.htt ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user