Skip to content

Commit

Permalink
games/ldmud: Moved man to share/man
Browse files Browse the repository at this point in the history
- Fix build with llvm16 and later

Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 24, 2024
1 parent 3e4c890 commit 1d57658
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion 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/ \
Expand All @@ -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 \
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 1d57658

Please sign in to comment.