aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/rtorrent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/rtorrent/Makefile')
-rw-r--r--net-p2p/rtorrent/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 15df94571243..6dea2decbf3a 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -36,7 +36,7 @@ BROKEN= Does not configure on arm
.endif
# Workaround to build and segfault on > 10.x
-.if ${OSVERSION} >= 1000000
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1000000
USE_GCC= yes
LDFLAGS+= -lc++
.endif