1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

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>
This commit is contained in:
Koop Mast 2015-12-12 23:37:57 +00:00
parent 9cae799dc4
commit 759ecf1f62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403639

View File

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