aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 07:10:19 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 07:20:23 +0000
commit1d57658378012bffc66973a55aa40c35a4e0a1f5 (patch)
treeda1d8f3301c08a9188754627fb19cda7402c7aee
parent3e4c890fe809397ab48258d498a9d0ba7959e017 (diff)
downloadports-1d57658378012bffc66973a55aa40c35a4e0a1f5.tar.gz
ports-1d57658378012bffc66973a55aa40c35a4e0a1f5.zip
games/ldmud: Moved man to share/man
- Fix build with llvm16 and later Approved by: portmgr (blanket)
-rw-r--r--games/ldmud/Makefile9
-rw-r--r--games/ldmud/pkg-plist2
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