aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-12-16 15:19:15 +0800
committermarcus <marcus@FreeBSD.org>2006-12-16 15:19:15 +0800
commit5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e (patch)
tree7f1539c03ce5f7ef4a089ba8c703510647437860 /www/firefox/Makefile
parent080667ca2cc4a4923c0a11c2ace4f7499c87e247 (diff)
downloadfreebsd-ports-gnome-5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e.tar.gz
freebsd-ports-gnome-5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e.tar.zst
freebsd-ports-gnome-5806d01bc38436fca86a0f9d83f4bd08f5f9cb7e.zip
Fix our gross -lpthread hack to work with GCC 4.1.
Reported by: pointyhat via kris
Diffstat (limited to 'www/firefox/Makefile')
-rw-r--r--www/firefox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 86e94687293d..17f104cc105d 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -49,7 +49,7 @@ OPTIONS= NEWTAB "Open external links in a new tab" on \
.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
BROKEN= does not build