Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 08:33:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339326 - head/www/httest
Message-ID:  <201401100833.s0A8XS1b000270@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 10 08:33:27 2014
New Revision: 339326
URL: http://svnweb.freebsd.org/changeset/ports/339326

Log:
  Port to lua 5.2 + cosmetic changes

Modified:
  head/www/httest/Makefile

Modified: head/www/httest/Makefile
==============================================================================
--- head/www/httest/Makefile	Fri Jan 10 08:32:19 2014	(r339325)
+++ head/www/httest/Makefile	Fri Jan 10 08:33:27 2014	(r339326)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100833.s0A8XS1b000270>