aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-11-04 01:39:09 +0800
committeraz <az@FreeBSD.org>2013-11-04 01:39:09 +0800
commitc2b96b01f57225f32ff211ca2e236614fcffaa08 (patch)
tree80d730f0456901b9d6197e884c7f263c2e73ab0f /net-p2p
parenta28297779c3b46d295a42188a26c833912e726de (diff)
downloadfreebsd-ports-gnome-c2b96b01f57225f32ff211ca2e236614fcffaa08.tar.gz
freebsd-ports-gnome-c2b96b01f57225f32ff211ca2e236614fcffaa08.tar.zst
freebsd-ports-gnome-c2b96b01f57225f32ff211ca2e236614fcffaa08.zip
put hack for freebsd 10.x under OPSYS, this will unbreak build under dbsd ports
Requested by: marino@
Diffstat (limited to 'net-p2p')
-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