svn commit: r403639 - head/news/pan

Koop Mast kwm at FreeBSD.org
Sat Dec 12 23:37:58 UTC 2015


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 at 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


More information about the svn-ports-head mailing list