summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-06 19:05:29 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-06 19:05:29 +0000
commit1e6aae603ab5553c4954d28701f1d63e1b622176 (patch)
tree2c2e5a856f2af73d004ccb2c4e1664602b48669b /emulators
parentFix smb_auth helper (diff)
Fix build on 7.x
Notified by: kris
Notes
Notes: svn path=/head/; revision=144424
Diffstat (limited to 'emulators')
-rw-r--r--emulators/extract-xiso/Makefile2
-rw-r--r--emulators/extract-xiso/files/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/emulators/extract-xiso/Makefile b/emulators/extract-xiso/Makefile
index 58178a0aa2f1..b26b058fa6c1 100644
--- a/emulators/extract-xiso/Makefile
+++ b/emulators/extract-xiso/Makefile
@@ -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
diff --git a/emulators/extract-xiso/files/Makefile b/emulators/extract-xiso/files/Makefile
index 6fcb9cceb18b..47934ffa331d 100644
--- a/emulators/extract-xiso/files/Makefile
+++ b/emulators/extract-xiso/files/Makefile
@@ -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}