Fix build on sparc64.
PR: 73979 Submitted by: maintainer
This commit is contained in:
parent
0915eda7fa
commit
4897686632
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123219
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= quftp
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= quftp
|
||||
|
@ -18,6 +18,7 @@ COMMENT= A scriptable FTP client
|
|||
LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
CFLAGS+= ${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
|
||||
|
@ -26,4 +27,7 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|||
MAN1= quftp.1
|
||||
PLIST_FILES= bin/quftp
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|-O6|-O2|g' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue