aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-10-17 09:39:22 +0800
committerlioux <lioux@FreeBSD.org>2005-10-17 09:39:22 +0800
commit58b660e44a4bed8ea47ec940a8e0b076ca4209a5 (patch)
tree82c4c3a8f3153136e9b928919382a2ef438565aa /net-p2p
parentb849abe936b304f068e1c9e8d40fb1b2e7b09015 (diff)
downloadfreebsd-ports-graphics-58b660e44a4bed8ea47ec940a8e0b076ca4209a5.tar.gz
freebsd-ports-graphics-58b660e44a4bed8ea47ec940a8e0b076ca4209a5.tar.zst
freebsd-ports-graphics-58b660e44a4bed8ea47ec940a8e0b076ca4209a5.zip
Fix build on FreeBSD 4.x branch through USE_GCC=3.4
Submitted by: pointyhat (kris)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey-devel/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index ab7a62f3f41..2e80835d6eb 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/Makefile
@@ -87,6 +87,11 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
BROKEN= "Does not compile on ${ARCH}"
.endif
+# Fix build on 4.x
+.if ${OSVERSION} < 500000
+USE_GCC= 3.4
+.endif
+
### Development version
## Thus, we will use non standard threading library
## We will switch from libpthread to libthr which should produce