svn commit: r564251 - head/databases/tokyotyrant
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Feb 6 20:43:36 UTC 2021
Author: sunpoet
Date: Sat Feb 6 20:43:32 2021
New Revision: 564251
URL: https://svnweb.freebsd.org/changeset/ports/564251
Log:
Clean up Makefile
- Use USES=localbase
- Use = instead of += for options helper
- Silence patch message
Modified:
head/databases/tokyotyrant/Makefile
Modified: head/databases/tokyotyrant/Makefile
==============================================================================
--- head/databases/tokyotyrant/Makefile Sat Feb 6 20:43:27 2021 (r564250)
+++ head/databases/tokyotyrant/Makefile Sat Feb 6 20:43:32 2021 (r564251)
@@ -5,7 +5,7 @@ PORTNAME= tokyotyrant
PORTVERSION= 1.1.41
PORTREVISION= 2
CATEGORIES= databases
-MASTER_SITES= https://dbmx.net/${PORTNAME}/
+MASTER_SITES= https://dbmx.net/tokyotyrant/
MAINTAINER= ports at FreeBSD.org
COMMENT= Network interface of Tokyo Cabinet
@@ -13,24 +13,21 @@ COMMENT= Network interface of Tokyo Cabinet
BUILD_DEPENDS= tokyocabinet>=1.4.20:databases/tokyocabinet
LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
+USES= gmake localbase pathfix
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= gmake pathfix
USE_RC_SUBR= ttserver
OPTIONS_DEFINE= LUA
+OPTIONS_DEFAULT=LUA # should be removed before committing
-LDFLAGS+= -L${LOCALBASE}/lib
-CFLAGS+= -I${LOCALBASE}/include
-
+LUA_CFLAGS= -I${LUA_INCDIR}
LUA_CONFIGURE_ENABLE= lua
-LUA_LDFLAGS+= -L${LUA_LIBDIR}
-LUA_CFLAGS+= -I${LUA_INCDIR}
-LUA_CPPFLAGS+= -I${LUA_INCDIR}
LUA_USES= lua
post-patch:
- ${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
More information about the svn-ports-head
mailing list