From nobody Wed Feb 01 12:08:20 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6LKc4Cp6z3c3fv; Wed, 1 Feb 2023 12:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6LKc3k0Rz42BP; Wed, 1 Feb 2023 12:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675253300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AOtyjCp2ZNXznMJjQb+rsS1kqefiSES0w7wS6/Yj8mM=; b=oVaAFchc3vvPZhu3Cvsw//cg7tnm3B5wOoHXt49eSSXLciRBwmiFGqYcMAlnzm/kF9n1SD zmi7RRNMHVzioWSzbjKo2ywm5u0018JnAs8gYDMb7wixzjtMCxJqayU4cuGJJnXTfS08ji 5Jifvi3JB/43ixfEGpi9CzfbNfSSmdcKPCfYFEzojU4/4TmpjNDGASrxpdukJp/hZg5U6W BBmNJlgarLDMOJS0K9vRjUvhYvc9KqWgEVZdXe+253Y3sfIng0Xy1s1BUyu0se4211nobF ADWvP0m5N53uKhhfZezz1NPHJAsOrE6KwTh52dqiVpNWvaGOjQrqaJYZMciLxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675253300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AOtyjCp2ZNXznMJjQb+rsS1kqefiSES0w7wS6/Yj8mM=; b=SG0tso/3ztePQPIkSPO7OpTAiNCZBeMthW2PCyEyAgGRJnJK964umH6a5TA8ituHJCGr5p Vq4DRq67aorZZ3HRAEHTZDwN3Tl+tMpusW3eR135sj6p+7JcMMb1/4Csu3lYR1tAOkeEx+ WKOmteDMlkmu9wjV9lXuXKueZ34iflCR4HYgl6UdoqAk7Yh21FXsiKZpV/U4B8fSExrZgU UYygvrra2afjIfyGXoTpTE7thEPwb3R0J3iLIUpFKUWZixVmsEO5dabyVnyC8QeoAw+1x/ gwz+hbVhKWICrWnPAq8NnZisIEDN36qpZ7nu2NGKHib+OMi/nDaXQ6yMxmie2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675253300; a=rsa-sha256; cv=none; b=yMRphO36C36drInc03/5Xmau+3oatwOv213BpbDoc9F5GrOkZ0/Wfknv6KhBUYMkflvkIb x31YgO9nwSfdmcoSR7Lh+QvqCY75kaHrYD91kamzZCan/deJbKQkQR4H73C12m5/sq6GsO mUVzaFc1QVZFoMqj0Oe8/4ZswF0Tb3DvDWevD3Uhu3GnlP2KIwi+aC3r8/+F7Tf4NCKmxm ciwxEe82DXEuhdpFBX9JXa1yqgXsueJoGtu29LUtqbcv/eoR5upgXgzqPGFpjc9z4lNSb+ 0iLaT5e26fuDfUlVXxCgostE/8qgD0mPBKt0PP37otfFxE5ZtOhzYhNCGGp3vw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6LKc2nbqz1SCS; Wed, 1 Feb 2023 12:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 311C8Kkj089620; Wed, 1 Feb 2023 12:08:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 311C8KSc089619; Wed, 1 Feb 2023 12:08:20 GMT (envelope-from git) Date: Wed, 1 Feb 2023 12:08:20 GMT Message-Id: <202302011208.311C8KSc089619@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 761babb06ef3 - main - games/ldmud: Ignore with mysql 8.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 761babb06ef31d5be02f7ac254fd11a9951e4269 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=761babb06ef31d5be02f7ac254fd11a9951e4269 commit 761babb06ef31d5be02f7ac254fd11a9951e4269 Author: Muhammad Moinur Rahman AuthorDate: 2023-02-01 11:44:33 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-02-01 12:07:22 +0000 games/ldmud: Ignore with mysql 8.0 - Pet portclippy - Use options framework PR: 269203 Reported by: exp-run --- games/ldmud/Makefile | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile index 0378aac220b6..75866eb150aa 100644 --- a/games/ldmud/Makefile +++ b/games/ldmud/Makefile @@ -16,16 +16,19 @@ LICENSE_FILE= ${WRKRSC}/COPYRIGHT BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libpcre.so:devel/pcre -GNU_CONFIGURE= yes USES= iconv pkgconfig ssl +USE_RC_SUBR= ldmud + +GNU_CONFIGURE= yes CONFIGURE_ARGS+=--libdir=${DATADIR} \ --bindir=${PREFIX}/sbin \ --enable-use-pcre \ --enable-use-tls=ssl -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -ALL_TARGET= ldmud -USE_RC_SUBR= ldmud + MAKE_JOBS_UNSAFE= yes +ALL_TARGET= ldmud + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src USERS= mud GROUPS= mud @@ -39,33 +42,30 @@ LPMUD_DESC= Install default mudlib (LP-245) IPV6_CONFIGURE_ENABLE= use-ipv6 MYSQL_USES= mysql MYSQL_CONFIGURE_ENABLE= use-mysql +MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql +MYSQL_VARS= IGNORE_WITH_MYSQL=80 PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= use-pgsql SQLITE_USES= sqlite SQLITE_CONFIGURE_ENABLE=use-sqlite -.include - -.if ${PORT_OPTIONS:MMYSQL} -LDFLAGS+= -L${LOCALBASE}/lib/mysql -.endif - post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}/var/log/${PORTNAME} \ ${STAGEDIR}/var/run/${PORTNAME} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ldmud -.if ${PORT_OPTIONS:MLPMUD} - cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mud/lp-245 && ${FIND} . \ - | ${CPIO} -pdmu ${STAGEDIR}${DATADIR} -.else - cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mudlib && ${FIND} . \ - | ${CPIO} -pdmu ${STAGEDIR}${DATADIR} -.endif -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc && ${FIND} . \ | ${CPIO} -pdmu ${STAGEDIR}${DOCSDIR} @${RM} ${STAGEDIR}${DOCSDIR}/Makefile -.endif + +post-install-LPMUD-on: + cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mud/lp-245 && ${FIND} . \ + | ${CPIO} -pdmu ${STAGEDIR}${DATADIR} + +post-install-LPMUD-off: + cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mudlib && ${FIND} . \ + | ${CPIO} -pdmu ${STAGEDIR}${DATADIR} .include