mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix build on 7.x
Notified by: kris
This commit is contained in:
parent
c5799da9be
commit
1e6aae603a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144424
@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/extract-xiso
|
||||
PLIST_FILES= bin/extract-xiso
|
||||
DOC= LICENSE.TXT
|
||||
|
||||
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
@ -7,7 +7,7 @@ CFLAGS+=-D__FREEBSD__
|
||||
|
||||
extract-xiso: extract-xiso.c
|
||||
@${MAKE} libftp
|
||||
${CC} ${CFLAGS} -lc_r -o extract-xiso extract-xiso.c ${LIBFTP_DIR}/libftp.a
|
||||
${CC} ${CFLAGS} ${PTHREAD_LIBS} -o extract-xiso extract-xiso.c ${LIBFTP_DIR}/libftp.a
|
||||
|
||||
libftp:
|
||||
@${MAKE} -C ${LIBFTP_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user