Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2015 23:37:57 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403639 - head/news/pan
Message-ID:  <201512122337.tBCNbvtc088617@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Dec 12 23:37:57 2015
New Revision: 403639
URL: https://svnweb.freebsd.org/changeset/ports/403639

Log:
  Staticly link to libgcc and libstdc++. This fixes a segmentation fault
  when trying to run pan on a libc++ based system.
  
  PR:		199303
  Submitted by:	Andrew <andrew_terekhov@yahoo.com>

Modified:
  head/news/pan/Makefile

Modified: head/news/pan/Makefile
==============================================================================
--- head/news/pan/Makefile	Sat Dec 12 23:25:27 2015	(r403638)
+++ head/news/pan/Makefile	Sat Dec 12 23:37:57 2015	(r403639)
@@ -4,7 +4,7 @@
 
 PORTNAME=	pan
 PORTVERSION=	0.139
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	news gnome
 MASTER_SITES=	http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/
 DIST_SUBDIR=	gnome2
@@ -22,7 +22,8 @@ USE_GNOME=	intlhack
 USE_GCC=	any
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lgnuregex ${ICONV_LIB}
+LDFLAGS+=	-static-libgcc -static-libstdc++ -L${LOCALBASE}/lib \
+		-lgnuregex ${ICONV_LIB}
 
 OPTIONS_DEFINE=	GTKSPELL GTK3
 OPTIONS_DEFAULT=GTKSPELL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512122337.tBCNbvtc088617>