summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-12-16 07:19:15 +0000
committermarcus <marcus@FreeBSD.org>2006-12-16 07:19:15 +0000
commit5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e (patch)
tree7f1539c03ce5f7ef4a089ba8c703510647437860 /mail
parent080667ca2cc4a4923c0a11c2ace4f7499c87e247 (diff)
downloadFreeBSD-ports-5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e.zip
FreeBSD-ports-5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e.tar.gz
Fix our gross -lpthread hack to work with GCC 4.1.
Reported by: pointyhat via kris
Diffstat (limited to 'mail')
-rw-r--r--mail/lightning/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/lightning/Makefile b/mail/lightning/Makefile
index d52e10c..518a1dd 100644
--- a/mail/lightning/Makefile
+++ b/mail/lightning/Makefile
@@ -43,7 +43,7 @@ MOZ_MK_OPTIONS= MOZ_CO_PROJECT=mail,calendar
.include <bsd.port.pre.mk>
-GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
+GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
.if ${OSVERSION} < 500000
IGNORE= does not build
OpenPOWER on IntegriCloud