mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
ftp/wput: Fix build with llvm15
- Pet portclippy Approved by: portmgr (blanket)
This commit is contained in:
parent
aceb4c1a38
commit
fecc06b7b1
1 changed files with 16 additions and 8 deletions
|
@ -11,24 +11,32 @@ WWW= http://wput.sourceforge.net/
|
|||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= tar:tgz
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
|
||||
PORTDOCS= ABOUT-NLS COPYING ChangeLog INSTALL TODO
|
||||
PORTEXAMPLES= USAGE.examples USAGE.resumehandling USAGE.urlhandling \
|
||||
passwordfile wputrc
|
||||
|
||||
USES= tar:tgz
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
|
||||
OPTIONS_DEFINE= TLS NLS DOCS EXAMPLES
|
||||
OPTIONS_DEFAULT=TLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
TLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
||||
TLS_CONFIGURE_WITH= ssl
|
||||
NLS_USES= gettext iconv
|
||||
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_CONFIGURE_WITH= libintl-prefix=${LOCALBASE}
|
||||
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
|
||||
TLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
||||
TLS_CONFIGURE_WITH= ssl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
|
||||
|
@ -43,4 +51,4 @@ post-install:
|
|||
@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue