git: c2e2d166b9bd - main - comms/aprsd: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 17:54:26 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2e2d166b9bdbdd8f5cec993e31c38681dd7d976 commit c2e2d166b9bdbdd8f5cec993e31c38681dd7d976 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 16:55:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 17:54:15 +0000 comms/aprsd: Fix build with llvm16 - Utilize OPTIONSNG - Pet portclippy Sponsored by: The FreeBSD Foundation --- comms/aprsd/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/comms/aprsd/Makefile b/comms/aprsd/Makefile index 04f55947edbc..61a67f4fb3f3 100644 --- a/comms/aprsd/Makefile +++ b/comms/aprsd/Makefile @@ -13,22 +13,22 @@ LICENSE= GPLv2 BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: httpserver.o:(.text+0x1074): undefined reference to `convertUpTime(int)' +USE_CXXSTD= c++14 +USE_RC_SUBR= aprsd + GNU_CONFIGURE= yes + SUB_FILES= pkg-message -USE_RC_SUBR= aprsd +SUB_LIST= APRSD_RC_USER=${APRSD_RC_USER} \ + APRSD_RC_GROUP=${APRSD_RC_GROUP} USERS= aprsd tnc GROUPS= aprsd dialer tnc APRSD_RC_USER= aprsd APRSD_RC_GROUP= aprsd -SUB_LIST= APRSD_RC_USER=${APRSD_RC_USER} \ - APRSD_RC_GROUP=${APRSD_RC_GROUP} - OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.pre.mk> - post-patch: ${REINPLACE_CMD} -e 's|%%CONFPATH%%|${PREFIX}/etc/aprsd/|' \ -e 's|%%LOGPATH%%|/var/log/aprsd/|' \ @@ -45,11 +45,15 @@ post-install: .for f in INIT.TNC RESTORE.TNC aprsd.conf welcome.txt user.deny ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${PREFIX}/etc/aprsd/$f.samp .endfor + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in chkaprsd udp_example ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${EXAMPLESDIR} .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>