Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2021 20:43:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564251 - head/databases/tokyotyrant
Message-ID:  <202102062043.116KhWNA017179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/*



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