summaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-02-22 10:01:04 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-02-22 10:01:04 +0000
commit3fef94ce7c694cc68d53f74f4f74443955640d42 (patch)
tree8c201458f1694f86ffd1a2469e4fb29cbcd99f3e /www/galeon
parentYet another mrtg update (to version 2.9.10). (diff)
Use -lgcc_r only if /usr/lib/libgcc_r.a actually exists.
Prompted by: Anders Andersson <anders@codefactory.se>
Notes
Notes: svn path=/head/; revision=38591
Diffstat (limited to 'www/galeon')
-rw-r--r--www/galeon/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 7763801a343e..b65b50dde7de 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -40,7 +40,11 @@ CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla" \
--with-mozilla-libs="${X11BASE}/lib/${MOZILLA}"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-D_REENTRANT -D_THREAD_SAFE -fno-rtti" \
- LIBS="-L${LOCALBASE}/lib -L${WRKSRC} -pthread -lgcc_r"
+ LIBS="-L${LOCALBASE}/lib -L${WRKSRC} -pthread ${GCC_R_LIB}"
+
+.if exists(/usr/lib/libgcc_r.a)
+GCC_R_LIB= -lgcc_r
+.endif
post-extract:
.if !defined(WITH_FULL_MOZILLA)