git: 1d5765837801 - main - games/ldmud: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 07:48:29 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d57658378012bffc66973a55aa40c35a4e0a1f5 commit 1d57658378012bffc66973a55aa40c35a4e0a1f5 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-02-24 07:10:19 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-02-24 07:20:23 +0000 games/ldmud: Moved man to share/man - Fix build with llvm16 and later Approved by: portmgr (blanket) --- games/ldmud/Makefile | 9 ++++++++- games/ldmud/pkg-plist | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile index 13430dea30da..5b4d3f2cae75 100644 --- a/games/ldmud/Makefile +++ b/games/ldmud/Makefile @@ -1,6 +1,6 @@ PORTNAME= ldmud PORTVERSION= 3.3.720 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= games net MASTER_SITES= http://www.bearnip.com/ftp/mud/ \ @@ -20,6 +20,7 @@ USES= iconv pkgconfig ssl USE_RC_SUBR= ldmud GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+=--libdir=${DATADIR} \ --bindir=${PREFIX}/sbin \ --enable-use-pcre \ @@ -47,6 +48,12 @@ PGSQL_CONFIGURE_ENABLE= use-pgsql SQLITE_USES= sqlite SQLITE_CONFIGURE_ENABLE=use-sqlite +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}/var/log/${PORTNAME} \ ${STAGEDIR}/var/run/${PORTNAME} diff --git a/games/ldmud/pkg-plist b/games/ldmud/pkg-plist index 3eef5328d8cb..fd6e6d00dccd 100644 --- a/games/ldmud/pkg-plist +++ b/games/ldmud/pkg-plist @@ -1,5 +1,5 @@ sbin/ldmud -man/man1/ldmud.1.gz +share/man/man1/ldmud.1.gz @owner mud @group mud %%LPMUD%%%%DATADIR%%/ACCESS.ALLOW