Change -pthread to -lpthread

PR:	195921
Reported by:	John Marino
This commit is contained in:
Martin Matuska 2015-02-02 10:32:26 +00:00
parent 9bfea87c32
commit 241a1f4e2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378300

View file

@ -5,7 +5,7 @@ PORTNAME?= proftpd
.if !defined(DISTVERSION)
PORTVERSION?= ${PROFTPD_VERSION}
.endif
PORTREVISION?= 5
PORTREVISION?= 6
CATEGORIES?= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
https://github.com/downloads/proftpd/proftpd.github.com/ \
@ -101,7 +101,7 @@ PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}"
.if !defined(_BUILDING_PROFTPD_MODULE)
CPPFLAGS+= -DHAVE_OPENSSL -I${OPENSSLINC}
LIBS+= -lssl -lcrypto -L${OPENSSLLIB}
LDFLAGS+= -pthread
LDFLAGS+= -lpthread
.endif
.if !defined(_BUILDING_PROFTPD_MODULE)