diff options
author | Andrej Zverev <az@FreeBSD.org> | 2013-11-02 08:32:28 +0000 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2013-11-02 08:32:28 +0000 |
commit | a1a91e218218009bee9fd8a1a7c364438e497f89 (patch) | |
tree | c31a15027992c850693132762b2c96cbfcf64cf7 /net-p2p/rtorrent/Makefile | |
parent | f29bf5fd0eb15d1e46735d84c84224b633d7f6f5 (diff) | |
download | ports-a1a91e218218009bee9fd8a1a7c364438e497f89.tar.gz ports-a1a91e218218009bee9fd8a1a7c364438e497f89.zip |
Notes
Diffstat (limited to 'net-p2p/rtorrent/Makefile')
-rw-r--r-- | net-p2p/rtorrent/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile index 84ba2df1973a..15df94571243 100644 --- a/net-p2p/rtorrent/Makefile +++ b/net-p2p/rtorrent/Makefile @@ -35,6 +35,12 @@ NO_STAGE= yes BROKEN= Does not configure on arm .endif +# Workaround to build and segfault on > 10.x +.if ${OSVERSION} >= 1000000 +USE_GCC= yes +LDFLAGS+= -lc++ +.endif + .if ${PORT_OPTIONS:MXMLRPC} CONFIGURE_ARGS+= --with-xmlrpc-c LIB_DEPENDS+= xmlrpc.3:${PORTSDIR}/net/xmlrpc-c-devel |