summaryrefslogtreecommitdiffstats
path: root/net/mldonkey
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-31 16:53:15 +0000
committerlioux <lioux@FreeBSD.org>2003-01-31 16:53:15 +0000
commitdd672cab97cab4260a2cbb7fec7ce0d9798f9aef (patch)
tree94858d71fa53d06f0291c819a8ced74b8a48a329 /net/mldonkey
parentf49beecd20e057dc499f8a792e4270609b162112 (diff)
downloadFreeBSD-ports-dd672cab97cab4260a2cbb7fec7ce0d9798f9aef.zip
FreeBSD-ports-dd672cab97cab4260a2cbb7fec7ce0d9798f9aef.tar.gz
Only depend on compat4x port IF running on OSVERSION >= 500000
Diffstat (limited to 'net/mldonkey')
-rw-r--r--net/mldonkey/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile
index 207804b..3b5cd7e 100644
--- a/net/mldonkey/Makefile
+++ b/net/mldonkey/Makefile
@@ -15,8 +15,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/.0$/-0/}.shared.${ARCH}-${OPSYS}
MAINTAINER= holger@e-gitt.net
-LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
-
ONLY_FOR_ARCHS= alpha i386
USE_BZIP2= yes
NO_BUILD= yes
@@ -46,4 +44,10 @@ do-install:
post-install:
@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud