git: 78710b19ed00 - main - net-p2p/shx: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 16:32:40 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=78710b19ed0093ba614a3a781e7ff0597677d4b9 commit 78710b19ed0093ba614a3a781e7ff0597677d4b9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-02 16:29:06 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-02 16:32:27 +0000 net-p2p/shx: Unbreak on HEAD - Pet portclippy - Adopt port --- net-p2p/shx/Makefile | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/net-p2p/shx/Makefile b/net-p2p/shx/Makefile index 97882aa89ac8..dc96afb8a465 100644 --- a/net-p2p/shx/Makefile +++ b/net-p2p/shx/Makefile @@ -7,49 +7,57 @@ MASTER_SITES= http://synhxd.sourceforge.net/releases/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}.diff.gz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Text based Hotline Communications client for Unix WWW= http://synhxd.sourceforge.net/ LICENSE= GPLv1 -OPTIONS_DEFINE= WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4 -OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS +USES= readline ssl tar:tgz -WARNINGS_DESC= Show compiler warnings -HTXF_PTHREAD_DESC= Use pthread instead of fork or clone for htxf -HFS_DESC= Enable HFS file system emulation -HOPE_DESC= Enable HOPE (required by Cipher/Compress) -CIPHER_DESC= Enable Cipher (HOPE required) -COMPRESS_DESC= Enable Compress (HOPE required) -HAL_DESC= Compile MegaHAL (enables hal command) -XMMS_DESC= Enable trackname command -NOIPV4_DESC= IPv6 support (disables IPv4 support) +GNU_CONFIGURE= yes -USES= readline ssl tar:tgz MAKEFILE= makefile -GNU_CONFIGURE= yes + CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} CONFLICTS_INSTALL= helix # bin/hx -CIPHER_IMPLIES= HOPE -COMPRESS_IMPLIES= HOPE +PLIST_FILES= bin/hx \ + share/examples/shx/hxrc \ + share/examples/shx/hxvars +OPTIONS_DEFINE= WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4 +OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS + +CIPHER_DESC= Enable Cipher (HOPE required) +COMPRESS_DESC= Enable Compress (HOPE required) +HAL_DESC= Compile MegaHAL (enables hal command) +HFS_DESC= Enable HFS file system emulation +HOPE_DESC= Enable HOPE (required by Cipher/Compress) +HTXF_PTHREAD_DESC= Use pthread instead of fork or clone for htxf +NOIPV4_DESC= IPv6 support (disables IPv4 support) +WARNINGS_DESC= Show compiler warnings +XMMS_DESC= Enable trackname command + +CIPHER_IMPLIES= HOPE CIPHER_CONFIGURE_ENABLE= cipher +COMPRESS_IMPLIES= HOPE COMPRESS_CONFIGURE_ENABLE= compress HAL_CONFIGURE_ENABLE= hal HFS_CONFIGURE_ENABLE= hfs HOPE_CONFIGURE_ENABLE= hope HTXF_PTHREAD_CONFIGURE_ENABLE= htxf-pthread NOIPV4_CONFIGURE_ENABLE= ipv6 -XMMS_CONFIGURE_ENABLE= xmms WARNINGS_CONFIGURE_ENABLE= warnings +XMMS_CONFIGURE_ENABLE= xmms -PLIST_FILES= bin/hx \ - share/examples/shx/hxrc \ - share/examples/shx/hxvars +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif do-install: ${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/ @@ -57,4 +65,4 @@ do-install: ${CP} -fv ${WRKSRC}/run/hxrc ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ ${CP} -fv ${WRKSRC}/run/hxvars ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>